route to another page in ionic 4 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>