Title: Export `RouterConfigLoader` to access `loadChildren` publicity · Issue #61192 · angular/angular · GitHub
Open Graph Title: Export `RouterConfigLoader` to access `loadChildren` publicity · Issue #61192 · angular/angular
X Title: Export `RouterConfigLoader` to access `loadChildren` publicity · Issue #61192 · angular/angular
Description: Which @angular/* package(s) are relevant/related to the feature request? router Description I have build something that is called "angular-router-menus" where I am able to have menus declared in the Angular routes itself here: https://gi...
Open Graph Description: Which @angular/* package(s) are relevant/related to the feature request? router Description I have build something that is called "angular-router-menus" where I am able to have menus declared in th...
X Description: Which @angular/* package(s) are relevant/related to the feature request? router Description I have build something that is called "angular-router-menus" where I am able to have menus decl...
Opengraph URL: https://github.com/angular/angular/issues/61192
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Export `RouterConfigLoader` to access `loadChildren` publicity","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\nrouter\n\n### Description\n\nI have build something that is called \"angular-router-menus\" where I am able to have menus declared in the Angular routes itself here: https://github.com/muuvmuuv/angular-router-menus.\n\nAt the moment, I use a [pretty ugly workaround](https://github.com/muuvmuuv/angular-router-menus/blob/main/projects/angular-router-menus/src/lib/builder.ts#L25) to access `loadChildren` from `RouterConfigLoader` through `RouterPreloader`. I would like to access it directly to be able to traverse through my lazy routes safely by Angular API's.\n\n### Proposed solution\n\nExport `RouterConfigLoader` directly, its \"root\" so shouldn't be a problem?\n\n### Alternatives considered\n\nNone","author":{"url":"https://github.com/muuvmuuv","@type":"Person","name":"muuvmuuv"},"datePublished":"2025-05-07T17:55:32Z","url":"https://github.com/angular/angular/issues/61192"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:84eaf338-b736-29ec-d8dd-4a9943e6a817 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B36:1DCB8C:C6C362:1083A40:6B00F451 |
| html-safe-nonce | ebc4c75bfcac46f6d554a9403cb396d6158096a5880caa2e1a50cf41b3d6511e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjM2OjFEQ0I4QzpDNkMzNjI6MTA4M0E0MDo2QjAwRjQ1MSIsInZpc2l0b3JfaWQiOiIxNTg0MjE5NzgxNTA5MjE1MzE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7e41da3d9452409ab1ad84e40598762bc361c00e4dd09c753b67b87aacaa4a09 |
| hovercard-subject-tag | issue:3046756545 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/61192/issue_layout |
| twitter:image | https://opengraph.githubassets.com/23d3a567cfa59624e21db134dac58b15aa232068c2447bb1ffe74f4f0028a2c0/angular/angular/issues/61192 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/23d3a567cfa59624e21db134dac58b15aa232068c2447bb1ffe74f4f0028a2c0/angular/angular/issues/61192 |
| og:image:alt | Which @angular/* package(s) are relevant/related to the feature request? router Description I have build something that is called "angular-router-menus" where I am able to have menus declared in th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | muuvmuuv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width