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);
```
|
||
|---|---|---|
| .. | ||
| change_detection | ||
| debug | ||
| di | ||
| dom | ||
| facade | ||
| linker | ||
| metadata | ||
| profile | ||
| reflection | ||
| testability | ||
| util | ||
| zone | ||
| application_ref_spec.ts | ||
| directive_lifecycle_integration_spec.ts | ||
| forward_ref_integration_spec.dart | ||
| forward_ref_integration_spec.ts | ||
| spies.dart | ||
| spies.ts | ||