JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.angularjs.org/1.4.0-beta.6/angular.min.js"></script>
<script src="http://code.angularjs.org/1.2.0-rc.3/angular-animate.min.js"></script>
<div ng-app="MyApp">
    <div ng-controller="MyCtrl">
        <span ng-class="{animated: true}">Hello {{who}}.</span>
    </div>
</div>

JavaScript

angular.module('MyApp', ['ngAnimate'])
    .controller('MyCtrl', function ($scope) {
        $scope.who = 'aaaaaaa';
    })
    .animation('.animated', function () {
        // should display an alert here...
        $scope.who = 'aaaaaaaaaaaa';
    })
;