angular-cn/packages/examples/core/di/ts
Alex Rickabaugh db56836425 feat: tree-shakeable providers API updates (#22655)
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
2018-03-13 09:28:05 -07:00
..
contentChild refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
contentChildren docs: clarify querying all descendants (#15400) 2017-03-24 14:36:55 -07:00
forward_ref build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
viewChild refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
viewChildren refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
injector_spec.ts feat: tree-shakeable providers API updates (#22655) 2018-03-13 09:28:05 -07:00
metadata_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
provider_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00