angular-docs-cn/packages/core/test/view
Vikram Subramanian 1089261717 fix(core): mark NgModule as not the root if APP_ROOT is set to false (#24814)
Tree shakable providers use the APP_ROOT token to determine where to attach themselves. APP_ROOT gets set on NgModule with BrowserModule irrespective of whether it is actually the root(Ex. in case of SSR app where the shell app is first bootstrapped without BrowserModule being the root module).

This change allows a NgModule with BrowserModule to explicitly mark itself as not the root by setting APP_ROOT token to false. This allows tree shakable providers to be attached to the right rott module.

PR Close #24814
2018-07-10 11:09:36 -07:00
..
anchor_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
component_view_spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
element_spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
embedded_view_spec.ts feat(core): add binding name to content changed error (#20352) 2018-01-17 07:16:40 -08:00
helper.ts refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
ng_content_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
ng_module_spec.ts fix(core): mark NgModule as not the root if APP_ROOT is set to false (#24814) 2018-07-10 11:09:36 -07:00
provider_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
pure_expression_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
query_spec.ts build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
services_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
text_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
view_def_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00