reload component on button click angular code example
Example: page reload button using angular
at template use event buinding:
(click)="reloadCurrentPage()"
inside the .ts file, add the function,
reloadCurrentPage() {
window.location.reload();
}