Where in the source can I find a reference to $scope.$on('destroy')


#1

I want to find out if Ionic automatically cancels $timeout, as well as unsubscribe from events when the view goes out of scope. Someone asked a similar question on SO but didn’t get a response