anchor click event angular refresh page

JavaScript
<a href="javascript:void(0);" (click)="yourClickEvent();">A Tag</a>
Source

Also in JavaScript: