createInjector
Create a new Injector
which is configured using a defType
of InjectorType<any>
s.
createInjector(defType: any, parent: Injector = null, additionalProviders: StaticProvider[] = null): Injector
Parameters
defType
|
any |
|
parent
|
Injector |
Optional. Default is |
additionalProviders
|
StaticProvider[] |
Optional. Default is |