Running code after an AngularJS animation has completed Running code after an AngularJS animation has completed angularjs angularjs