Is there some event when a cached view is removed?


#1

Continuing the discussion from Please help test: Angular 1.3, improved transitions, cached views (repost):

I have some data in services and I want to remove these data when the corresponding cached view is removed. For it I need some information about the view, like the params used to load the view, the url used, the state name.

I already read this http://ionicframework.com/docs/nightly/api/directive/ionView/ (The markdown is broken in the section View LifeCycle and Events)


#2

Great idea! I just added the event and updated the docs, thanks!

http://ionicframework.com/docs/nightly/api/directive/ionView/