modeler/angular/app/scripts/lib/angular/ui/angular-ui.js
function ($scope, element, attrs) {
      var opts = {};
      if (attrs.uiAnimate) {
        opts = $scope.$eval(attrs.uiAnimate);
        if (angular.isString(opts)) {
          opts = {'class': opts};
        }
      }
      opts = angular.extend({'class': 'ui-animate'}, options, opts);

      element.addClass(opts['class']);
      $timeout(function () {
        element.removeClass(opts['class']);
      }, 20, false);
    }
function ($scope, element, attrs) {
      var opts = {};
      if (attrs.uiAnimate) {
        opts = $scope.$eval(attrs.uiAnimate);
        if (angular.isString(opts)) {
          opts = {'class': opts};
        }
      }
      opts = angular.extend({'class': 'ui-animate'}, options, opts);

      element.addClass(opts['class']);
      $timeout(function () {
        element.removeClass(opts['class']);
      }, 20, false);
    }
function ( $scope , element , attrs ) { var opts = { } ; if ( attrs . uiAnimate ) { opts = $scope . $eval ( attrs . uiAnimate ) ; if ( angular . isString ( opts ) ) { opts = { 'class' : opts } ; } } opts = angular . extend ( { 'class' : 'ui-animate' } , options , opts ) ; element . addClass ( opts [ 'class' ] ) ; $timeout ( function ( ) { element . removeClass ( opts [ 'class' ] ) ; } , 20 , false ) ; }
supports using directive as element, attribute and class
supports using directive as element attribute and class