Help Angular by taking a 1 minute survey!Go to surveyHome

INJECTOR

An InjectionToken that gets the current Injector for createInjector()-style injectors.

See more...

      
      const INJECTOR: InjectionToken<Injector>;
    

Description

Requesting this token instead of Injector allows StaticInjector to be tree-shaken from a project.