very simple case - in toolbar’s html:
<ion-header-bar class="bar-positive">
<div class="buttons">
<button class="button button-clear" ng-click="ctrl.showActionSheet()">Action</button>
</div>
</ion-header-bar>
and for “Controller as ctrl”:
this.showActionSheet = function () {
$ionicActionSheet.show({
destructiveText: 'Something',
destructiveButtonClicked: function () {
$notifications.discardAll();
return true;
}
});
};
When i tap outside application stops responding to events.
When i use cancel and cancelText - after clicking application stops responding to events
ionic beta-13, angular 1.3.5