AngularJS directive for animation with velocity (or any