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

Description
Using ng-animate with an ng-repeat, when removing an element from the JavaScript array, I would expect the DOM element to stay at the same place it was while animating and then being removed. That's not what happening with the RC0 of Angular 1.3.
It looks like the DOM element is removed immediately and then Angular realizes it needs to animate it, so the element is put back in the DOM but at the end of the list, animated, and then finally removed for good.
I tried removing using different methods (splice and filter) and using stuff like track by or orderBy but nothing worked. Here is a demo showing the problem: http://codepen.io/pauldijou/pen/wevBr
Am I missing something on how to remove an element from a ng-repeat?