docs($ionicModal): add docs for modal.removed and modal.hide

Closes #1320
This commit is contained in:
sanderheling
2014-05-09 16:31:22 +02:00
committed by Andrew Joslin
parent 919d4f8dca
commit 7494b0525e

View File

@@ -38,6 +38,14 @@
* $scope.$on('$destroy', function() {
* $scope.modal.remove();
* });
* // Execute action on hide modal
* $scope.$on('modal.hide', function() {
* // Execute action
* });
* // Execute action on remove modal
* $scope.$on('modal.removed', function() {
* // Execute action
* });
* });
* ```
*/