getInjector
function
stable
Retrieves an Injector associated with an element, component or directive instance.
@paramelementOrDir
{} | ElementDOM element, component or directive instance for which to retrieve the injector.
@returns
InjectorInjector associated with the element, component or directive instance.
Jump to details