code: function(element, className, options) {
          options = prepareAnimateOptions(options);
          options.removeClass = mergeClasses(options.removeClass, className);
          return $$animateQueue.push(element, 'removeClass', options);
        }
docs: @ngdoc method
  @name $animate#removeClass
  @kind function
  
  @description Triggers a removeClass animation surrounding the removal of the provided CSS class(es). Upon
  execution, the removeClass operation will only be handled after the next digest and it will not trigger an
  animation if element does not contain the CSS class or if the class is added at a later step.
  Note that class-based animations are treated differently compared to structural animations
  (like enter, move and leave) since the CSS classes may be added/removed at different points
  depending if CSS or JavaScript animations are used.
  
  @param {DOMElement} element the element which the CSS classes will be applied to
  @param {string} className the CSS class(es) that will be removed (multiple classes are separated via spaces)
  @param {object=} options an optional collection of options/styles that will be applied to the element
  
  @return {Promise} the animation callback promise