Exclude page from navigation


#1

Is it possible to exclude a page from being included in the “Back” button navigation?


#2

I’m looking for something similar. When you have a couple of templates that each have their own flow, you don’t always want to back button to show up when entering a new “flow”.

What I’m doing right now is simply create a new file called page2.html instead of index.html and link to href="/page2.html" instead of using hash tags.

That works, but the only downside is that you notice a page reload happening in the app. I’m wondering if there’s another or better way to do this as I’m just getting started with learning ionic.

Since I’m still just getting started with ionic, I’m not sure if this will work, but check out http://ionicframework.com/docs/api/directive/navClear/

Does any of that solve your problem?


#3

navClear is used to stop the animation, not the storing of navigation, but good find though.

Anyone else found a solution yet?