angular/packages/core/src/render3/instructions
Kristiyan Kostadinov 69018c9f42 feat(core): allow for injector to be specified when creating an embedded view (#45156)
Adds support for passing in an optional injector when creating an embedded view through `ViewContainerRef.createEmbeddedView` and `TemplateRef.createEmbeddedView`. The injector allows for the DI behavior to be customized within the specific template.

This is a second stab at the changes in #44666. The difference this time is that the new injector acts as a node injector, rather than a module injector.

Fixes #14935.

PR Close #45156
2022-03-02 16:38:00 +00:00
..
advance.ts refactor(core): Consistent use of HEADER_OFFSET (in ɵɵ* instructions only) (#39233) 2020-10-21 18:33:00 -07:00
all.ts refactor(core): move injectAttributeImpl to avoid cycles (#37085) 2020-11-19 12:19:42 -08:00
attribute.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
attribute_interpolation.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
change_detection.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
class_map_interpolation.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
di.ts refactor(core): add single type for injector token (#41580) 2021-04-22 10:47:12 -07:00
di_attr.ts refactor(core): move injectAttributeImpl to avoid cycles (#37085) 2020-11-19 12:19:42 -08:00
element.ts perf(compiler): chain element start/end instructions (#44994) 2022-02-08 09:56:50 -08:00
element_container.ts perf(compiler): chain element start/end instructions (#44994) 2022-02-08 09:56:50 -08:00
get_current_view.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
host_property.ts refactor(core): rename synthetic host property and listener instructions (#37145) 2020-07-21 09:09:24 -07:00
i18n.ts fix(compiler): treat i18n attributes with no bindings as static attributes (#39408) 2020-10-27 13:31:29 -07:00
i18n_icu_container_visitor.ts fix(core): remove duplicated EMPTY_ARRAY constant (#40991) 2021-03-01 09:00:43 -08:00
interpolation.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
listener.ts fix(core): global listeners not being bound on non-node host elements (#42014) 2021-05-14 14:51:04 +00:00
lview_debug.ts perf(core): avoid storing LView in __ngContext__ (#45051) 2022-02-18 13:32:11 -08:00
namespace.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
next_context.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
projection.ts refactor(core): Consistent use of HEADER_OFFSET (in ɵɵ* instructions only) (#39233) 2020-10-21 18:33:00 -07:00
property.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
property_interpolation.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
shared.ts feat(core): allow for injector to be specified when creating an embedded view (#45156) 2022-03-02 16:38:00 +00:00
storage.ts refactor(core): Consistent use of HEADER_OFFSET (in ɵɵ* instructions only) (#39233) 2020-10-21 18:33:00 -07:00
style_map_interpolation.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
style_prop_interpolation.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
styling.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
template.ts refactor(core): Consistent use of HEADER_OFFSET (in ɵɵ* instructions only) (#39233) 2020-10-21 18:33:00 -07:00
text.ts refactor(core): Consistent use of HEADER_OFFSET (in ɵɵ* instructions only) (#39233) 2020-10-21 18:33:00 -07:00
text_interpolation.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00