stay at same page when refresh angular application code example
Example: angular refresh page without reloading
this.router.navigate(['path/to'])
.then(() => {
window.location.reload();
});
this.router.navigate(['path/to'])
.then(() => {
window.location.reload();
});