I'm having an odd problem with navigation. When I click between screens, I sometimes see the screen I'm trying to get to appear, and then the app decides to go back to where I came from, BUT it has added the screen where I wanted to go, as the previous page in the history, so I'm offered to go "back" to it.
The app I'm building does communicate with Parse.com for some data, but it doesn't seem to be tied to communication with Parse, as this also happens for screens that don't need to talk to Parse at all.
Now this has not been a problem at all while developing in Chrome, only when I've built the app and am testing it on an actual device (iOS so far, haven't tested Android yet). There is nothing showing up in the error log in XCode either, just this random behaviour.
Any ideas on what I'm doing wrong? I am using $scope.$on('$ionicView.beforeEnter', function() in all controllers that need to talk to Parse, should I not do that perhaps?