I'm little bit confused where I should free up resources. Should I do in $scope.$on('$destroy', ...) or $scope.$on('$ionicView.unloaded', ...)?
↧
I'm little bit confused where I should free up resources. Should I do in $scope.$on('$destroy', ...) or $scope.$on('$ionicView.unloaded', ...)?