How To Get Route Path Parameters In Non-Routed Angular Components 🦀

Tomas Trajan 🇨🇭 - Jun 4 '19 - - Dev Community

In this article we’re going to explore…

  • what are route path parameters
  • how we can access route path parameters in a standard way
  • what are the non-routed components
  • why it is hard to access route path params in the non -routed components
  • how to access them if we really need to
  • other ways around the problem
  • ⚡StackBlitz working example of the described concepts…

Let’s go!

Read more...

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .