MCPcopy Index your code
hub / github.com/angular/angular / createNodeInjector

Function createNodeInjector

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getCurrentTNodeFunction · 0.90
getLViewFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…