Defining Links Between Routes

Add links to routes using the RouterLink directive.

For example the following code defines a link to the route at path component-one.

  1. <a routerLink="/component-one">Component One</a>

Navigating Programmatically

Alternatively, you can navigate to a route by calling the navigate function on the router:

  1. this.router.navigate(['/component-one']);

原文: https://angular-2-training-book.rangle.io/handout/routing/routerlink.html