ionic routing code example
Example 1: ionic angular change page route
this.router.navigateByUrl('/home');
Example 2: ionic route navigation
// just like angular
Example 3: router navigate ionic
RouterModule.forRoot([
{ path: '', component: LoginComponent },
{ path: 'detail', component: DetailComponent }
]);