Kristof degrave
Kristof degrave
If it should be possible if the following code would be added in the RouterConfigLoader. https://github.com/angular/angular/blob/1e9eeafa9e3fbfad5e94d697b8079cf649db626e/packages/router/src/router_config_loader.ts#L35-L44 to ``` return moduleFactory$.pipe(switchMap((factory: NgModuleFactory) => { if (this.onLoadEndListener) { this.onLoadEndListener(route); } const module...
`CanLoad` and `CanActivate` Guards are not made for this. As the names suggests they guard a route. They check if you can do it, but not to perform any mutation...
@AlexeyApplicature https://github.com/angular/angular/issues/34351#issuecomment-577095385 This is a workaroud, the real solution would be to have a hook on the router when a module gets loaded, and have the possibility to inject a...
@pkozlowski-opensource from what you present, it should support the use-cases I had. I have been out for a while because I changed customer. I Think angular is taking some good...
A possible solution is to use reslove in your route. If you do this you can access the $resolve of the ui-router ``` $stateProvider .state('testShow', { url: '/{id:[0-9]+}', component: 'testShow',...
@FObermaier I understand this, but is it possible to make a stable (nuget) release with the PR's that have been approved and merged? Second, there is currently no package available...