angular ionic 5 routes code example
Example 1: ionic angular change page route
this.router.navigateByUrl('/home');
Example 2: ionic route navigation
// just like angular
<button [routerLink]="['/detail']">click</button>
this.router.navigateByUrl('/home');
// just like angular
<button [routerLink]="['/detail']">click</button>