diff --git a/js/angular/service/modal.js b/js/angular/service/modal.js index 499c769cff..064f5b8f79 100644 --- a/js/angular/service/modal.js +++ b/js/angular/service/modal.js @@ -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 + * }); * }); * ``` */