We have been using jquery ui sortable for our angular project and it was working fine till we upgraded to version 1.2.10.
We have written a custom directive that catch the jquery ui events for start and stop. In the jquery stop event we cancelled the and move (calling sortable cancel method) and the element in the model array is moved in js. This was working till 1.1.5 version.
We have a drag and drop interface and we drop elments into a sortable list, and this can further be organized using jquery ui sortable. After the upgrade the the behaviour is very random. Sometimes elements do not move after drop even if the model is updates, sometime the `ng-repreat` itself would vanish without any trace of it in html so the list area gets cleared.
Looking at the HTML during these interaction i have realized some strange happens with html comments tag generated by ng-repeat.
Normally they are like this

But after any movement of the nodes the comments become inconsistent like

(Notice the `end ngRepeat` at the top.)
Or this

(Notice 2 endRepeat now together)
I am thinking this is causing the issue with AnugularJS repeat.
Can someone help me with this. What can cause the binding between model and DOM be broken?