/page-reloads-when-clicking-anchor-element code example
Example: anchor click event angular refresh page
<a href="javascript:void(0);" (click)="yourClickEvent();">A Tag</a>
<a href="javascript:void(0);" (click)="yourClickEvent();">A Tag</a>