@angular/core

makeEnvironmentProviders

function

Wrap an array of Providers into EnvironmentProviders, preventing them from being accidentally referenced in @Component in a component injector.

Jump to details