mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a3960846da
NgModule factories are obsolete with Ivy and most of the operations can already be performed with NgModule classes without retreieving corresponding factories. NgModule factories were useful to generate an `NgModuleRef` (via `NgModuleFactory.create` method). This commit adds a new function to create an instance of the `NgModuleRef` class without having the need to create a factory first. PR Close #43580