Daniel.Woo
Daniel.Woo

Reputation: 636

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

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!

Upvotes: 1

Views: 134

Answers (1)

trogdor
trogdor

Reputation: 1656

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

Upvotes: 1

Related Questions