Angularjs with JQuery Shapeshift plugin issue -


i using shapeshift jquery plugin show items allow user re arrange items wish. listening on drop event persist reordering info backend , updating scope locally. updated socpe , call scope.apply. elements messed up.

e.g if have items in following order a, b, c , user rearranges them b, c, but, turns b, a, c.

shapeshift positions elements using inline styles, see in line style values reset angular wrongly.

similar approach has been done angular-ui sortable directive uses jquery sortable plugin. but, doesn't use inline style , works fine.

any appreciated.