title: Ionic how to hide ionicActionSheet menu after tap on hardware back button on device?
body: <p>in my Ionic app after tap on list item displaying Action sheet menu:</p>
  
  <p><a href="http://ionicframework.com/docs/api/service/" rel="nofollow">http://ionicframework.com/docs/api/service/</a>$ionicActionSheet/</p>
  
  <p>I would like to hide displayed action sheet menu after tap on hardware back button on Android device. Is it possible? And if yes and how can i do it please?</p>
  
  <p>Thanks for any help. </p>
  
  <p><strong>Code which displaying action sheet menu:</strong></p>
  
  <pre><code>$scope.showActionMenu = function(number,id,itemIndex) {
              // Show the action sheet
              var hideSheet = $ionicActionSheet.show({
                  titleText: 'Select action',
                  buttons: [
                      { text: 'Call' }
                  ],
                  destructiveText: 'Delete',
                  cancelText: 'Cancel',
                  cancel: function() {
                      hideSheet();
                  },
                  destructiveButtonClicked: function() {
                      console.log(id);
                      console.log(itemIndex);
                      $scope.deletePlannedCall(id,itemIndex);
                      return true;
                  },
                  buttonClicked: function(index) {
                      console.log(number);
                      $scope.callTo(number);
                      return true;
                  }
              });
  
          };
  </code></pre>