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