How can i back to main page

Hey guys,
One weird thing happening here.
I have many views in sequence… in last view have one button back to first view.
But when i back to first view the back button appears. I want the hamburger menu button.

I’ve tried $ionicHistory.clearHistory() and does’t work.

How can i do this?

thank you.

You can set the next view as the root of the history stack before navigating to it:

  historyRoot: true


Hey brandyshea! thank you very much!!!
it’s work pretty well!!!

1 Like