how to reload a component in angular on button click 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();
}