app/tutoranimangularjs.js
/**
 * @name repeatItemAnimation
 * @desc The ngRepeat sample animation function
 */
@name repeatItemAnimation
@desc The ngRepeat sample animation function
@name repeatItemAnimation @desc The ngRepeat sample animation function
function repeatItemAnimation() {
    var moveAnimation = function (element, done) {
        jQuery(element).css({ opacity: 0 });
        jQuery(element).animate({
            opacity: 1
        }, 3000, done);
        return function (isCancelled) {
            if (isCancelled) {
                element.stop();
            }
        };
    }
    return {
        move: moveAnimation
    };
}
function repeatItemAnimation ( ) { var moveAnimation = function ( element , done ) { jQuery ( element ) . css ( { opacity : 0 } ) ; jQuery ( element ) . animate ( { opacity : 1 } , 3000 , done ) ; return function ( isCancelled ) { if ( isCancelled ) { element . stop ( ) ; } } ; } return { move : moveAnimation } ; }
@name repeatItemAnimation
 @desc The ngRepeat sample animation function
@name repeatItemAnimation @desc The ngRepeat sample animation function
/**
     * @name moveAnimation
     * @desc The move animation function called when an element moves in DOM
     * @param element - The element that is moving in DOM
     * @param done - Callback function, it must be called to finish the animation
     */ // Here is the optional return function that treats completed or cancelled animations