Credit to devdocs.io

angular 2.0_typescript

angular

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–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/core/index/NgModuleFactory-class.html