Provider

From Get docs
< @angular/coreAngular/docs/7/api/core/provider


Provider

type-alias

Describes how the Injector should be configured.

See more...

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

See also

  • TypeProvider
  • ClassProvider
  • StaticProvider

Description

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


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