Question from the Angular - Fundamentals test

Navigate to the new-gadgets route in Angular

Easy

Once the Router is injected into GadgetComponent, how do I use it to navigate to the new-gadgets route?

Author: LéoStatus: PublishedQuestion passed 1227 times
Edit
4
Community Evaluations
developer avatar
No
26/06/2024
NW : this.router.navigateByUrl('new-gadgets');