hideSheet = function(didCancel) {
        sheetEl.removeClass('action-sheet-up');
        if(didCancel) {
          $timeout(function(){
            opts.cancel();
          }, 200);
        }

        $animate.removeClass(element, 'active', function() {
          scope.$destroy();
        });

        $document[0].body.classList.remove('action-sheet-open');

        scope.$deregisterBackButton && scope.$deregisterBackButton();
      }
@ngdoc method
@name $ionicActionSheet#show
@description
Load and return a new action sheet.

A new isolated scope will be created for the
action sheet and the new element will be appended into the body.

@param {object} opts The options for this ActionSheet. Properties:

 - `[Object]` `buttons` Which buttons to show.  Each button is an object with a `text` field.
 - `{string}` `titleText` The title to show on the action sheet.
 - `{string=}` `cancelText` The text for a 'cancel' button on the action sheet.
 - `{string=}` `destructiveText` The text for a 'danger' on the action sheet.
 - `{function=}` `cancel` Called if the cancel button is pressed or the backdrop is tapped.
 - `{function=}` `buttonClicked` Called when one of the non-destructive buttons is clicked,
    with the index of the button that was clicked. Return true to close the action sheet,
    or false to keep it opened.
 - `{function=}` `destructiveButtonClicked` Called when the destructive button is clicked.
    Return true to close the action sheet, or false to keep it opened.