Coding task · Angular course · Module 4: Routing
Practice: Programmatic router
The Router service allows programmatic navigation with the navigate() and navigateByUrl() methods. We can also pass state and queryParams.
Task
Complete the programmatic navigation method with an ID parameter and query params.