NgModuleRef
NgModuleRef
Stable Class
Class Overview
class NgModuleRef { injector : Injector componentFactoryResolver : ComponentFactoryResolver instance : T destroy() : void onDestroy(callback: () => void) : void }
Class Description
Represents an instance of an NgModule created via a NgModuleFactory
.
NgModuleRef
provides access to the NgModule Instance as well other objects related to this NgModule Instance.