$ionicView.leave not called

hello.
I wrote a plunker to explain the issue:

when you use the side menu to go from playlist to browse the $ionicView.leave is called and that is GOOD.
when you use the side menu to go from browse to playlist the $ionicView.leave is called and that is GOOD.

but when you use the side menu to go from playlist (or browse) to selectionMode then the $ionicView.leave is not called. (AND THAT IS NOT GOOD)

how can I detect that the playlist view (or browse view) is not displayed anymore if the function is not called.