panggil fungsi setiap kali routerlink adalah clicke angular

<a class="nav-link" [routerLink]="['/home']" (click)="doSomeLogic()">Home</a>
Defeated Dolphin