routing angular 9 example Example: routerlink example <a class="nav-link" [routerLink]="['/home']" (click)="doSomeLogic()">Home</a>