It looks like I’m doing something wrong, for me the viewState.viewEnter event is not triggering. I have my
<view> elements inside divs because I use an ng-switch to load different “partials” depending on what I have to display. Something like this:
<div ng-switch on="item.type">
And inside each partial I have the content wrapped in
I something wrong with this approach?
Found the problem, I’m using ui-view and not nav-view because I don’t want the back button to appear in the navigation bar. Tried using nav-view and set the attribute
hide-back-button="true" to the
<view> but it doesn’t work.
bower update and guess what? Now it’s working even without your hack. Maybe it’s something in the latest angular that fixed it, I tried angular 1.2.9 and it still worked.