0 votes
in Angular by
What does a router.navigate do?

1 Answer

0 votes
by

When we want to route to a component we use router.navigate.  Syntax: this.router.navigate([‘/component_name’]); 

...