mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9833d9ea47
This updates the loader code to run the `loadComponent` and `loadChildren` functions in the appropriate injection context for the route. A primary motiviation for this feature is to bring `loadChildren` with standalone components and the routes array to feature-parity with what was possible when using `loadChildren` and a module that provided routes via the `ROUTES` token and a factory function (which would have injection context). fixes #51532 PR Close #62133
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT