A token can have multiple providers, for each scope its own entry. Each scoped provider can only exist once.
Optional
resolveWhen this provider was exported to another module and thus is actually instantiated in another module, then this is set.
This is necessary to tell the module who declared this provider to not instantiate it, but redirects resolve requests
to resolveFrom
instead.
Generated using TypeDoc
The modules from which dependencies can be resolved. The first item is always the module from which this provider was declared.
This is per default the module in which the provider was declared, but if the provider was moved (by exporting), then if a) the parent had this provider already, then this array has additionally the one from which the provider was exported. b) the parent had no provider of that token, then this array is just the module from which the provider was exported.
This is important otherwise exported provider won't have access in their dependencies to their original (encapsulated) injector.