Angular directive for applying an animation class to an element whenever a value changes. Useful for applying attention-calling animation like flashes or shakes.
Installing
# npm $ npm install angular-animate-change# bower $ bower install angular-animate-change
Setup
// node module exports the string 'animate-change' for convenienceangular;// otherwise, include the code first then the module nameangular;
API
animateChange
(directive)
When $scope.value
changes, the class 'flash'
will be added. Animation classes will applied during the transition.