angular-cn/modules/angular2/examples/router/ts
Tobias Bosch 9092ac79d4 refactor(core): support non reflective bootstrap.
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);
  ```
2016-04-20 11:34:11 -07:00
..
can_activate refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
can_deactivate refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
on_activate refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
on_deactivate refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
reuse refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
.gitkeep docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00