angular-cn/packages/core/test/view
JoostK 30b04424a3 fix(core): call ngOnDestroy for tree-shakeable providers (#28943)
Prior to this change, any provider that was independently resolved using
its InjectableDef would not be considered when destroying the module it
was requested from. This commit provides a fix for this issue by storing
the resolved provider in the module's list of provider definitions.

Fixes #28927

PR Close #28943
2019-04-05 09:40:00 -07:00
..
BUILD.bazel style: enforce buildifier lint on CI (#28186) 2019-02-26 16:57:41 -08:00
anchor_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
component_view_spec.ts refactor(ivy): revert onChanges change back to a feature (#28187) 2019-01-23 10:59:33 -08:00
element_spec.ts refactor(ivy): revert onChanges change back to a feature (#28187) 2019-01-23 10:59:33 -08:00
embedded_view_spec.ts feat(core): add binding name to content changed error (#20352) 2018-01-17 07:16:40 -08:00
helper.ts refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
ng_content_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
ng_module_spec.ts fix(core): call ngOnDestroy for tree-shakeable providers (#28943) 2019-04-05 09:40:00 -07:00
provider_spec.ts feat(ivy): improve stacktrace for `R3Injector` errors (#28207) 2019-02-05 01:53:20 -05:00
pure_expression_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
query_spec.ts build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
services_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
text_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
view_def_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00