W3cubDocs

/Angular 2

Provider

Stable Type-alias

What it does

Describes how the Injector should be configured.

How to use

See TypeProvider, ValueProvider, ClassProvider, ExistingProvider, FactoryProvider.

Interface Overview

interface Provider {
}

Interface Description

For more details, see the Dependency Injection Guide.

exported from @angular/core/index, defined in @angular/core/src/di/provider.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/Provider-type-alias.html