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
|
||
|---|---|---|
| .. | ||
| anchor_spec.ts | ||
| component_view_spec.ts | ||
| element_spec.ts | ||
| embedded_view_spec.ts | ||
| helper.ts | ||
| ng_content_spec.ts | ||
| ng_module_spec.ts | ||
| provider_spec.ts | ||
| pure_expression_spec.ts | ||
| query_spec.ts | ||
| services_spec.ts | ||
| text_spec.ts | ||
| view_def_spec.ts | ||