from http://learn.ionicframework.com/formulas/navigation-and-routing-part-1/