angularjs auto refresh page 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();
});