Accessing Parent Route Params Via paramsInheritanceStrategy In Angular 6.0.7

Ben Nadel looks at the “paramsInheritanceStrategy” configuration option of the Angular Router in Angular 6.0.7. This option, when set to “always”, will allow a route segment’s params object to include the params of its parents (ie, descendant route segments). This makes it trivial for a given view to access the param values of its parent view (assuming no naming collisions)….

Source:: bennadel.com