IONIC
Routing in ionic application Whenever we create a page we have to register the pages in app.module.ts @NgModule({ declarations: [ MyApp, HomePage, ShopPage, BuyoutPage ], imports: [ IonicModule.forRoot(MyApp) ], bootstrap: [IonicApp], entryComponents: [ MyApp, HomePage, ShopPage, BuyoutPage ], providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}] }) <button ion-button (click)="onGoToShop()">Go to Shop</button> export class HomePage { constructor(public navCtrl: NavController ) { } onGoToShop() { this.navCtrl.push(ShopPage); } } How to I pass data from one page to another ?? · ...