Question · Angular course · Module 4: Routing
Query params in the URL
Which service (besides ActivatedRoute) do we inject to programmatically change the route from a component class?
Answer options
- Location
- ActivatedRoute
- Router
- RouterOutlet
You can check the correct answer by solving this task in the CodeWorlds game.