angular/packages/core/src/metadata
Andrew Kushnir fe1f6421d2 feat(core): add getNgModuleById function to retrieve loaded NgModules by id (#43580)
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
2021-10-04 16:35:26 -07:00
..
di.ts docs: fix description: "property decorator" (not parameter) (#43068) (#43128) 2021-08-12 15:36:59 -07:00
directives.ts docs(core): add documentation for HostListener (#40720) 2021-02-17 06:55:29 -08:00
do_boostrap.ts docs(core): improve applicationref.bootstrap docs (#42407) 2021-06-22 16:30:37 +00:00
ng_module.ts feat(core): add getNgModuleById function to retrieve loaded NgModules by id (#43580) 2021-10-04 16:35:26 -07:00
ng_module_def.ts refactor(core): Remove circular dependency on render3 and ng_module (#39621) 2020-11-16 09:12:46 -08:00
resource_loading.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
schema.ts docs: provide more info on the NO_ERRORS_SCHEMA schema (#42327) 2021-06-07 10:46:34 -07:00
view.ts docs(core): change URL to shadow dom spec (#39797) 2021-01-14 11:27:55 -08:00