angular/modules/@angular/router/src
Tobias Bosch a46437c57d refactor(core): fix bootstrapModule regarding zones and initializers (#10383)
This makes `bootstrapModuleFactory` wait for promises
returned by `APP_INITIALIZER`s, also making `bootstrapModuleFactory` async.
I.e. now `bootstrapModule` and `bootstrapModuleFactory` behave in the
same way.

This ensures that all code from module instantiation, to creating
`ApplicationRef`s as well as calling `APP_INITIALIZERS` is run
in the Angular zone.

This also moves the invocation of the initializers from the `ApplicationRef`
constructor into the `bootstrapModuleFactory` call, allowing initializers
to get a hold of `ApplicationRef` (see #9101).

Fixes #9101
Fixes #10363
Fixes #10205
2016-08-01 02:12:59 -07:00
..
directives feat(router): add isActive to router 2016-07-29 12:27:43 -07:00
utils feat(router): implement canLoad 2016-07-26 14:39:02 -07:00
apply_redirects.ts feat(router): implement canLoad 2016-07-26 14:39:02 -07:00
common_router_providers.ts refactor(core): fix bootstrapModule regarding zones and initializers (#10383) 2016-08-01 02:12:59 -07:00
config.ts feat(router): add a validation to make sure pathMatch is set correctly 2016-07-29 12:27:43 -07:00
create_router_state.ts feat(router): implement data and resolve 2016-06-27 14:25:56 -07:00
create_url_tree.ts feat(router): rename UrlPathWithParams into UrlSegment 2016-07-25 12:15:07 -07:00
interfaces.ts feat(router): implement canLoad 2016-07-26 14:39:02 -07:00
recognize.ts feat(router): rename UrlPathWithParams into UrlSegment 2016-07-25 12:15:07 -07:00
resolve.ts refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
router.ts feat(router): add isActive to router 2016-07-29 12:27:43 -07:00
router_config_loader.ts refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
router_module.ts refactor(core): fix bootstrapModule regarding zones and initializers (#10383) 2016-08-01 02:12:59 -07:00
router_outlet_map.ts docs(router): add api docs 2016-06-28 14:49:29 -07:00
router_providers.ts refactor(router): clean up naming 2016-07-06 16:19:52 -07:00
router_state.ts feat(router): activateroute should expose its route config 2016-07-29 12:27:43 -07:00
shared.ts refactor(router): renames PRIMARY_OUTLET into primary 2016-07-22 18:51:35 -07:00
url_tree.ts fix(UrlParser): stop setting default value 'true' (#10399) 2016-07-30 14:34:03 -07:00