*Case Study *
Assume your app-routing.module.ts looks like this
*Problem Statement *
How do we access the accountNumber params from the children route.
*Possible Solution
This Works but it not the best solutions.
Best Solution
Update your app-routing.module.ts
paramsInheritanceStrategy: 'always' ==> This gives your access to parent params.Which make it easier to access parent params by doing
Thanks for reading you can support by Support link
Top comments (0)