getModuleFactory

From Get docs
< @angular/coreAngular/docs/11/api/core/getmodulefactory


getModuleFactory

const

Returns the NgModuleFactory with the given id, if it exists and has been loaded. Factories for modules that do not specify an id cannot be retrieved. Throws if the module cannot be found.

const getModuleFactory: (id: string) => NgModuleFactory<any>;

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/getModuleFactory