title: $uibModal close automatically
body: <p>How can I close the modal to 3 seconds automatically, if the user does not press any modal option?
  If the user does nothing, it will automatically close</p>
  
  <p>Thank you</p>
  
  <pre><code>$uibModal.open({
        backdrop: 'static',
        templateUrl: 'app/components/genericConfirmModal/generic-confirm-dialog.html',
        controller: 'GenericModalAcceptController',
        controllerAs: 'vm',
        size: 'md',
        resolve: {
          title: function() {
            return 'Anulación ticket';
          },
          icon: function() {
            return 'ok';
          },
          message: function() {
            return 'El ticket se ha anulado con éxito';
          },
          buttonMessage: function() {
            return 'Aceptar';
          }
        }
      }).result.then(function() {
        $state.go('catalog', {}, {
          reload: true
        });
      }, function() {
        $state.go('catalog', {}, {
          reload: true
        });
      });
  </code></pre>