how to refresh the page on click in angular code example
Example 1: anchor click event angular refresh page
<a href="javascript:void(0);" (click)="yourClickEvent();">A Tag</a>
Example 2: page reload button using angular
at template use event buinding:
(click)="reloadCurrentPage()"
inside the .ts file, add the function,
reloadCurrentPage() {
window.location.reload();
}