ionic 5 angular router or nav controller code example
Example: ionic route navigation
// just like angular
<button [routerLink]="['/detail']">click</button>
// just like angular
<button [routerLink]="['/detail']">click</button>