examples/weather/angular.js
function(element, className, done) {
        className = isString(className) ?
                      className :
                      isArray(className) ? className.join(' ') : '';
        forEach(element, function (element) {
          JQLiteAddClass(element, className);
        });
        done && $timeout(done, 0, false);
      }
function(element, className, done) {
        className = isString(className) ?
                      className :
                      isArray(className) ? className.join(' ') : '';
        forEach(element, function (element) {
          JQLiteAddClass(element, className);
        });
        done && $timeout(done, 0, false);
      }
@ngdoc function
@name ng.$animate#addClass
@methodOf ng.$animate
@function

@description
Adds the provided className CSS class value to the provided element. Once complete, the done() callback will be fired (if provided).

@param {jQuery/jqLite element} element the element which will have the className value added to it
@param {string} className the CSS class which will be added to the element
@param {function=} done the callback function (if provided) that will be fired after the className value has been added to the element