angular router deal with any input code example Example: angular on back skip routes this.router.navigate(["/c"], { replaceUrl: true });