mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This changes Angular so that it can be used without reflection (assuming a codegen for injectors).
BREAKIKNG CHANGE:
- Drops `APP_COMPONENT` provider. Instead, inject
`ApplicationRef` and read its `componentTypes` property.
- long form bootstrap has changed into the following:
```
var platform = createPlatform(ReflectiveInjector.resolveAndCreate(BROWSER_PROVIDERS));
var appInjector =
ReflectiveInjector.resolveAndCreate([BROWSER_APP_PROVIDERS, appProviders], platform.injector);
coreLoadAndBootstrap(appInjector, MyApp);
```
|
||
|---|---|---|
| .. | ||
| animate | ||
| common | ||
| compiler | ||
| core | ||
| facade | ||
| http | ||
| i18n | ||
| mock | ||
| platform | ||
| router | ||
| symbol_inspector | ||
| testing | ||
| upgrade | ||
| web_workers | ||
| dev_mode_spec.ts | ||
| public_api_spec.ts | ||