TypeScript code snippet – 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');