I have an app with navigation & routing and I just realized that $ionicView.loaded
is fired for every $state transition, i.e. ui-sref="app.profile({id:{{id}}})"
. I expect this for $ionicView.enter
, but not loaded
Is this expected behavior? This was causing some $rootScope.$on
listeners to be be loaded (and fired) multiple times
See this codepen: http://codepen.io/anon/pen/mVaKwx?editors=1010