You should / might want to remove the modal when you leave the state that had the modal.
$scope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams){
$ionicModal.remove();
});
You should / might want to remove the modal when you leave the state that had the modal.
$scope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams){
$ionicModal.remove();
});