menu
menuAPI
Deprecation warning
This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy JIT mode. Angular provides APIs that accept NgModule classes directly (such as PlatformRef.bootstrapModule and createNgModule), consider switching to those APIs instead of using factory-based ones.
abstract class NgModuleFactory<T> { abstract readonly moduleType: Type<T>; abstract create(parentInjector: Injector | null): NgModuleRef<T>;}
NgModuleRef<T>NgModuleRef<T>