angular-cn/modules/@angular/compiler-cli/integrationtest/test
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
..
animate_spec.ts feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -07:00
basic_spec.ts feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -07:00
entry_components_spec.ts refactor(core): rename `precompile` into `entryComponents`. 2016-07-26 07:04:36 -07:00
i18n_spec.ts feat(xmb/xtb): support dtd 2016-07-29 14:18:34 -07:00
init.ts refactor(core): make `lockRunMode` a noop and deprecate it. 2016-07-07 16:16:55 -07:00
ng_module_spec.ts refactor(core): rename `precompile` into `entryComponents`. 2016-07-26 07:04:36 -07:00
projection_spec.ts feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -07:00
query_spec.ts feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -07:00
util.ts refactor(core): fix `bootstrapModule` regarding zones and initializers (#10383) 2016-08-01 02:12:59 -07:00