mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
db56836425
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