angular/packages/compiler-cli/integrationtest
Alex Rickabaugh 7ac34e42a0 feat: allow direct scoping of @Injectables to the root injector (#22185)
@Injectable() supports a scope parameter which specifies the target module.
However, it's still difficult to specify that a particular service belongs
in the root injector. A developer attempting to ensure that must either
also provide a module intended for placement in the root injector or target
a module known to already be in the root injector (e.g. BrowserModule).
Both of these strategies are cumbersome and brittle.

Instead, this commit adds a token APP_ROOT_SCOPE which provides a
straightforward way of targeting the root injector directly, without
requiring special knowledge of modules within it.

PR Close #22185
2018-02-15 14:20:27 -08:00
..
bazel feat: allow direct scoping of @Injectables to the root injector (#22185) 2018-02-15 14:20:27 -08:00
benchmarks refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
flat_module fix(compiler): look for flat module resources using declaration module path (#15367) 2017-03-21 19:05:03 -05:00
ngtools_src fix(compiler-cli): find lazy routes in nested module import arrays 2017-06-20 14:21:14 -07:00
src fix(compiler): work well with forwardRef with useValue / useFactory 2017-09-25 13:36:00 -07:00
test refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
third_party_src feat(compiler-cli): new compiler api and command-line using TypeScript transformers 2017-06-23 16:18:44 -07:00
tsconfig-build.json refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
tsconfig-ngc-build.json feat(compiler-cli): new compiler api and command-line using TypeScript transformers 2017-06-23 16:18:44 -07:00
tsconfig-xi18n.json refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
webpack.config.js fix(compiler): make sourcemaps work in AOT mode 2017-03-16 12:56:56 -07:00