Angular: hide navigation URL path

If you want to hide the navigation URL just add the skipLocationChange property ad set it to true.

this.router.navigate(['/my/path'], { skipLocationChange: true });