I'm trying to animate a div with some content whenever the $scope variable is updated. I want to give the user feedback that an update has occurred.
In my controller I update the $scope through a websocket like this:
socket.syncUpdates('item', $scope.items, function(event, item, array) {
$scope.items = array;
});
I can't get my head around how to do this. I'm using ng-animate and animation.css