wywołać funkcję, gdy routerlink jest kątowy Clicke

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