In my app I have a category page that has links to a various product list pages. If it turns out that when you get to a product list page there is only one product then it
You can use angular routers replaceUrl flag to do this. See api docs for more details here
replaceUrl
this.router.navigate(['/view'], { replaceUrl: true });