beforeEnter not firing on IOS and href


#1

I just noticed today that on IOS the beforeEnter event, for an already loaded view, is not firing when clicking a link that contains a state url href="#/app/mystate" , strange… it works perfectly on android

Also works perfectly if using $state.go(‘app.mystate’)

Any idea? IOS bug? Cache problem?

Using Ionic 1.2.4


#2

found the problem… someone changed the code and used the same url in the config of the state parameters to the same template but with a different (empty) controller!!! :blush: