diff --git a/js/ext/angular/src/service/ionicActionSheet.js b/js/ext/angular/src/service/ionicActionSheet.js index 6b89f20b202..2ea1350cfe0 100644 --- a/js/ext/angular/src/service/ionicActionSheet.js +++ b/js/ext/angular/src/service/ionicActionSheet.js @@ -71,7 +71,11 @@ function($rootScope, $document, $compile, $animate, $timeout, $ionicTemplateLoad show: function(opts) { var scope = $rootScope.$new(true); - angular.extend(scope, opts); + angular.extend(scope, { + cancel: angular.noop, + buttonClicked: angular.noop, + destructiveButtonClicked: angular.noop + }, opts); // Compile the template var element = $compile('')(scope);