ng-click inside ng-repaat with animations,but event do not fire,why?

150 Views Asked by At

Here is the code in jsFiddler

As you can see the code,when you click the add button ,I push a new item to the $scope.p,and every item in the ng-repeat has a event-binding,all the things works well,but when I add the attribute 'ng-animate',the event doesn't fire. thank you a lot!

1

There are 1 best solutions below

4
On BEST ANSWER

There is a bug affecting ngAnimate in version 1.1.5 of AngularJS. You can solve it using a more recent version.

Your code will also work with version 1.1.5 if you load the jQuery library. See updated code