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

Function createNodeInjector

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

Source from the content-addressed store, hash-verified

912
913/** Creates a `NodeInjector` for the current node. */
914export function createNodeInjector(): Injector {
915 return new NodeInjector(getCurrentTNode()! as TDirectiveHostNode, getLView()) as any;
916}
917
918/**
919 * @codeGenApi

Callers

nothing calls this directly

Calls 2

getCurrentTNodeFunction · 0.90
getLViewFunction · 0.90

Tested by

no test coverage detected