Provider

type-alias

npm Package @angular/core
Module import { Provider } from '@angular/core';
Source core/src/di/provider.ts

Describes how the Injector should be configured.

type Provider = TypeProvider | ValueProvider | ClassProvider | ExistingProvider | FactoryProvider | any[];

How To Use

See TypeProvider, ClassProvider, StaticProvider.

Description

For more details, see the "Dependency Injection Guide".

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/Provider