the issue is still there in the beta.
I made research in the forum, and I found this post
It explains there is a problem with the second tab (and not the first one) when using a nested state (which is my case).
No one has experienced this problem since the version 0.9.26?
I continued to analyse the problem. I put some logs into ionTabs and ionTab directives.
At initialization, everything works fine. Every single directive ionTab is associated with the right scope.
Then I click on “Blocks” tab. The right tab is selected (through the select method of ionicTabs controller with tab.$tabSelected = true; )
I logged some variable. And i can see that I have the proper $tabSelected and tabContent. But here is the problem: tabsCtrl is not the one I want. It is the one from tab bar 2 with its scope and the $element. Thats why the content of tab bar 1 go to tab bar 2
And I can tell it was OK when the directive was initialized, and I cannot see why this has changed.
So maybe I am missing something about angular js behaviour.
Any idea?