I\'m developing an app using Ionic 4 with Angular router. I would like to navigate to another page and clear the page stack. In Android native, it\'s something like this:
this.router.navigateByUrl('/login', { skipLocationChange: true });
Navigates without pushing a new state into history.
https://angular.io/api/router/NavigationExtras