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

exported from core/index, defined in core/src/linker/ng_module_factory.ts