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 });
Notes of a Programmer
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 });