Provider

Provider is a instance have declare in module. Two method to define a provider:

  • Define with value

  • Define with function

Define provider in the module:

If you need create provider base on the other provider, you can create provider with a factory.

Last updated