router.navigate angular with reload code example
Example: navigate to route and refresh angular 6
this.router.navigate(['path/to'])
.then(() => {
window.location.reload();
});
this.router.navigate(['path/to'])
.then(() => {
window.location.reload();
});