Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

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

@smdvdsn

Description

@smdvdsn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions