Angular Routing - Part 2
Passing Parameters to Routes
We can incorporate parameters into our routes by utilizing dynamic segments in the paths, as demonstrated below.
//anything mentioned after colon ':' is interpreted as id
{ path: 'orders/:id', component: OrdersComponent }...
sankarshanramesh.hashnode.dev4 min read