@angular/core

createEnvironmentInjector

function

Create a new environment injector.

  function createEnvironmentInjector( providers: (Provider | EnvironmentProviders)[], parent: EnvironmentInjector, debugName?: string): EnvironmentInjector;  
Jump to details