replace url and reload page in angular 8 code example
Example: how to navigate without realoding angular
import { Location } from '@angular/common';
constructor(private location: Location) { }
this.location.replaceState('/profile');
import { Location } from '@angular/common';
constructor(private location: Location) { }
this.location.replaceState('/profile');