 createNgModule function   Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.  createNgModule<T>(ngModule: Type<T>, parentInjector?: Injector): viewEngine_NgModuleRef<T> Parameters     ngModule  Type<T>  NgModule class.     parentInjector  Injector  Optional injector instance to use as a parent for the module injector. If not provided, NullInjector will be used instead. Optional. Default is undefined.     Returns viewEngine_NgModuleRef<T>: NgModuleRef that represents an NgModule instance.  

    
{'path': 'public/docs/angular/api/core/createngmodule.html', 'source': 'DevDocs.IO'}