There is a lot of confusion on this topic because there are so many different ways to do it.
Here are the appropriate types used in the following screen shots:
private route: ActivatedRoute private router: Router
1) Required Routing Parameters:
2) Route Optional Parameters:
3) Route Query Parameters:
Top comments (0)