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.

TypeError with ngAnimate #6205

@mayanklahiri

Description

@mayanklahiri

Hi, I'm using the latest Angular 1.2 head at Google (I'm lahiri@). I occasionally get the following error when I've injected ngAnimate into my app -- without actually using it. The ng-animate directive isn't invoked anywhere, and I don't have any CSS transitions. Removing ngAnimate from my app's module dependencies gets rid of the error.

TypeError: Cannot call method 'querySelectorAll' of undefined
    at cancelChildAnimations (http://localhost:8080/dev/js_deps.js:426:92)
    at Object.leave (http://localhost:8080/dev/js_deps.js:414:227)
    at ngRepeatAction (http://localhost:8080/dev/js_deps.js:345:403)
    at Object.$watchCollectionAction [as fn] (http://localhost:8080/dev/js_deps.js:253:80)
    at Scope.$digest (http://localhost:8080/dev/js_deps.js:254:472)
    at Scope.$apply (http://localhost:8080/dev/js_deps.js:258:425)
    at HTMLAnchorElement.<anonymous> (http://localhost:8080/dev/js_deps.js:333:86)
    at http://localhost:8080/dev/js_deps.js:63:60
    at forEach (http://localhost:8080/dev/js_deps.js:11:71)
    at HTMLAnchorElement.eventHandler (http://localhost:8080/dev/js_deps.js:63:18)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions