mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit adds a new function called `getNgModuleById` to the public API surface of the framework. The `getNgModuleById` function allows to retrieve loaded NgModule class by id (specified via `@NgModule.id`). The function is a replacement for the `getModuleFactory` function. DEPRECATION: The `getModuleFactory` function is deprecated in favor of the `getNgModuleById` one. With Ivy it's possible to work with NgModule classes directly, without retrieving corresponding factories, so the `getNgModuleById` should be used instead. PR Close #43580 |
||
|---|---|---|
| .. | ||
| di.ts | ||
| directives.ts | ||
| do_boostrap.ts | ||
| ng_module.ts | ||
| ng_module_def.ts | ||
| resource_loading.ts | ||
| schema.ts | ||
| view.ts | ||