docs($animate): require ngAnimate in example, syntax fixes

The example in the section "JavaScript-defined Animations" would not run without the ngAnimate dependency. Also added a missing comma and semicolons.
Merge branch 'master' of https://github.com/angular/angular.js
componentizd!