INJECTOR

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

查看"说明"...

      
      const INJECTOR: InjectionToken<Injector>;
    

说明

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