Beta 14: $viewContentLoaded and $destroy not firing any more


#1

as the title says, i updated today for the new beta-14, after the build $viewContentLoaded and $destroy not firing,
i guess its related to the content caching,
but is there any alternatives?

i’m starting intervals (server requests) when the page is ready, and stoping them when he leaves…

thanks!


#2

It’s best to go with the new $ionicView.X events included in Beta 14. For example : $ionicView.loaded or $ionicView.enter. You can see them all in the docs here : http://ionicframework.com/docs/nightly/api/directive/ionView/


#3

thanks alot! really helped


#4

Thanks for getting this @Calendee