Let’s say my app is built around this state tree:
$stateProvider .state('tab') //abstract state .state('tab.section1') //root state of my section 1 tab .state('tab.section1-subsection') //a sub-state of section 2 .state('tab.section2') //root state of my section 2 tab .state('tab.section2-subsection') //a sub-state of section 2
Now, if I navigate to
'tab.section1-subsection', then tap on tab2, and finally tap on tab 1 again, I am brought back to
What I’d like to do is, whenever I tap on a tab, I am always brought to the tab’s root state and not to the sub-state I was on when I left the section.
Is that possible?
Thanks for reading,