NgModuleFactory
Experimental
Class
Class Overview
class NgModuleFactory { constructor(_injectorClass: {new (parentInjector: Injector): NgModuleInjector<T>}, _moduleType: Type<T>) moduleType : Type<T> create(parentInjector: Injector) : NgModuleRef<T> }
Class Description
Constructor
constructor(_injectorClass: {new (parentInjector: Injector): NgModuleInjector<T>}, _moduleType: Type<T>)
Class Details
moduleType : Type<T>
create(parentInjector: Injector) : NgModuleRef<T>
exported from @angular/core/index, defined in @angular/core/src/linker/ng_module_factory.ts
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/NgModuleFactory-class.html