mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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 |
||
|---|---|---|
| .. | ||
| directives | ||
| utils | ||
| apply_redirects.ts | ||
| common_router_providers.ts | ||
| config.ts | ||
| create_router_state.ts | ||
| create_url_tree.ts | ||
| interfaces.ts | ||
| recognize.ts | ||
| resolve.ts | ||
| router.ts | ||
| router_config_loader.ts | ||
| router_module.ts | ||
| router_outlet_map.ts | ||
| router_providers.ts | ||
| router_state.ts | ||
| shared.ts | ||
| url_tree.ts | ||