angular on back skip routes

JavaScript
this.router.navigate(["/c"], { replaceUrl: true });

Source

Also in JavaScript: