$animation (service in module ng )

Improve this doc

Description

The $animation service is used to retrieve any defined animation functions. When executed, the $animation service will return a object that contains the setup and start functions that were defined for the animation.

Usage

$animation(name);

Parameters

Returns

{Object}

the animation object which contains the setup and start functions that perform the animation.