@angular/core/global

getInjector

function

Retrieves an Injector associated with an element, component or directive instance.

  
    function getInjector(  elementOrDir: {} | Element): Injector;
  
  
Jump to details