Questions tagged [angular-routing-parameter]

5 questions
1
vote
0 answers

Lazy Loading Modules Based on Path Param

I am trying to conditionally load modules (built for varying layouts) based on data received from the API. The data is fetched based on a value of a pathparam. I have tried following route config below: path: ':objectId', loadChildren: async () =>…
0
votes
1 answer

Need Help: Route Params in Angular 14

I'm learning Angular from Frontendmasters.com, During course, we're building this project (you can say: courses management system) Right Now: my url is ( localhost:4200/courses ) and it shows courses component which is container component and have…
0
votes
0 answers

Angular lazy loading children modules in a parametric parent route

I have this correctly working example of lazy loading children from modules { path: 'FIRST', children: [ { path: '', component: OutletComponent }, { path: '', component: OutletComponent, outlet: 'sidebar', …
0
votes
0 answers

Angular2 - stepper and browser history's button

I would like to ask you how to solve problem with angular stepper and browser history's buttons. When user making something which includes process steps its easy to controll steps with application button for prev and next step but when we make…
0
votes
2 answers

Angular routing not passing my parameter value

Here below is one of my router files. It works fine for ':id' and ':id/edit/list', but when I route to :id/edit/members => ex. localhost:4200/bands/1/edit/members my resolver doesn't get the param id value. route.params is empty. QUESTION - I'm a…
chuckd
  • 13,460
  • 29
  • 152
  • 331