mirror of
https://github.com/angular/angular.git
synced 2026-11-24 15:37:51 -05:00
This commit adds the `createNgModuleRef` function alias to the public API. The alias is called `createNgModule`. The `createNgModule` name is more consistent with the rest of the API surface, where functions that return `*Ref`s don't include the `Ref` into the function name, for example: `createPlatform`, `ViewContainerRef.createComponent`, etc. DEPRECATED: The `createNgModuleRef` is deprecated in favor of newly added `createNgModule` one. PR Close #46789