mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Rename @Injectable({scope -> providedIn}).
Instead of {providedIn: APP_ROOT_SCOPE}, accept {providedIn: 'root'}.
Also, {providedIn: null} implies the injectable should not be added
to any scope.
PR Close #22655
|
||
|---|---|---|
| .. | ||
| bazel | ||
| benchmarks | ||
| flat_module | ||
| ngtools_src | ||
| src | ||
| test | ||
| third_party_src | ||
| tsconfig-build.json | ||
| tsconfig-ngc-build.json | ||
| tsconfig-xi18n.json | ||
| webpack.config.js | ||