angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

ng-click and ng-animate on the same ng-repeat not working

Open smdvdsn opened this issue 13 years ago • 1 comments

I'm trying to use ng-click on an ng-repeat that also has an ng-animate. All worked fine on 1.1.4 but today I thought I'd try the master branch.

I'm seeing strange results depending on the include method of my templateUrl

Plunk here http://plnkr.co/edit/A67nBVzR2XEyMhuYj6GF

If you run that with templateUrl set to template.html (a file) you will see the div's flash green on load. But if you try to click them nothing happens.

If you change the templateUrl (in app.js) to be template-inline.html (a script tag) the opposite is true. You don't get the animation but the click works.

Using only ng-click or ng-animate seems to work in both cases.

The plunk includes the version of angular.js that I build from master around 3pm GMT on the 2nd May

smdvdsn avatar May 02 '13 17:05 smdvdsn

Should be fixed as per issue #2873

smdvdsn avatar Jul 09 '13 12:07 smdvdsn