Hi, I am having drag and drop scenario. I am maintaining the dropped components in an array, when I drop an element I add them in that array. What I am doing is I use ng-repeat to append the element in the UI as well.
Somehow I created a directive which allows the elements to show randomly wherever I drop them (not in a sequence as ng-repeat does). So in background I always have all the properties by ng-repeat so that I can get all the properties of the dropped component and show those in another panel. ISSUE: Now if I go to another view and again I come back to my drag and drop view the ng-repeat re arranges the elements. All the elements rearrange in a line as ng-repeat re-runs. (I am already using factory for maintaining the data so I don't loose any data e.g. array and other changed properties) My query, Is there any way so that I can get the same UI of a view as I left when going to another view? Thanks, Sachin -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
