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);
```
|
||
|---|---|---|
| .. | ||
| directives | ||
| integration | ||
| location | ||
| route_config | ||
| rules | ||
| route_registry_spec.ts | ||
| router_spec.ts | ||
| spies.dart | ||
| spies.ts | ||
| url_parser_spec.ts | ||