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