import {IonicView, NavController} from 'ionic/ionic'; @IonicView({ template: ` Navigation

Navigation

Navigation makes your app feel like, well, an app!

With the navigation features in Ionic, we can navigate to new pages, go back in history (including swipe-to-go-back), and control the stack of pages the user can navigate between.

` }) export class NavPage { constructor(nav: NavController) { this.nav = nav; } push() { this.nav.push(NavSecondPage); } } @IonicView({ template: ` Second Page ` }) export class NavSecondPage { constructor(nav: NavController) { this.nav = nav; } }