Current state of routing


#1

I’m trying to structure my app and I’m seeing some discrepancies in how this should be done. This tutorial uses ngRoute http://ionicframework.com/tutorials/intro-tutorial/ , but this forum post suggests using state UI Router vs Angular Core Router

How do we do routing in ionic?


#2

Unfortunately, that tutorial is quite out of date. Sorry for all the confusion. There just aren’t enough people and time to keep up with the code, forum, and docs.

Ionic switched over from ng-route many releases ago. So, you really ought to go with ui-router. There are some good examples in the Ionic CodePen.