When I use ion-nav-view
and do a $state.reload()
then state::onExit
is called but no trigger to $scope.$on $destroy
Switching to ui-view
, I can see that $scope.$on $destroy gets called…
Is there a fix to it?
Using ionic 1.1.0
When I use ion-nav-view
and do a $state.reload()
then state::onExit
is called but no trigger to $scope.$on $destroy
Switching to ui-view
, I can see that $scope.$on $destroy gets called…
Is there a fix to it?
Using ionic 1.1.0
Ah, it’s the ionic cache! Just had to clear caching.