angular-dragdrop
angular-dragdrop copied to clipboard
Resetting elements to original position?
Is there an easy way to do this? Something along the lines of keeping track of the original position so I can move it back? I've tried clearing the array that was being read by ng-repeat, then repopulating the array with old data, but the modified positions are kept.
The screenshot is what happens after I clear & add the elements back in the array, with the arrows pointing to their origin position. Their current position is where I moved them to before the reset.