How to navigate to other page Navigation tutorial-ionic2 and angular4

While developing some app you most frequently have the requirement to navigate back and forth between the views.

In ionic the NavController from ‘ionic-angular’ comes handy.

this.navCtrl.push method accepts page where you wish to navigate.


<button ion-button> directive is used in ionic to create button.

click event is used and method navigate() will be invoked on click of button.

Ta Da!! you are now able to navigate back and forth between views.Please share if you like this short tutorial.

Live example demo can be found here.

Download code



Leave a Reply

Your email address will not be published. Required fields are marked *