MCPcopy Create free account
hub / github.com/angular/angular / createNodeInjector

Function createNodeInjector

packages/core/src/render3/di.ts:908–910  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

906
907/** Creates a `NodeInjector` for the current node. */
908export function createNodeInjector(): Injector {
909 return new NodeInjector(getCurrentTNode()! as TDirectiveHostNode, getLView()) as any;
910}
911
912/**
913 * @codeGenApi

Callers

nothing calls this directly

Calls 2

getCurrentTNodeFunction · 0.90
getLViewFunction · 0.90

Tested by

no test coverage detected