How to navigate to another page in ionic | Navigation in ionic
How to navigate to another page in ionic Angular navigation plays most important role in ionic app.The Angular Router is one of the most important libraries in an Angular application. Without navigation, apps would be single view/single context apps or would not be able to maintain their navigation state on browser reloads. There are different ways to navigate from one page to another page. Initially our app-routing.module.ts file look like below. path: ' ' , load index page and redirect to home page. import { NgModule } from '@angular/core'; import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; const routes: Routes = [ { path: '', redirectTo: 'home', pathMatch: 'full' }, { path: 'home', loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)}, { path: 'slideshow', loadChildren: './slideshow/slideshow.module#SlideshowPageModule'}, @NgMod