I'm using angular-ui-sortable <https://github.com/angular-ui/ui-sortable> 
to re-order items in a list. But I want to group items (modules) by bundle, 
which is just a collection of modules.

In the demo there is a 'Re-order Bundles/Re-order Modules" button to switch 
between the re-order the different lists.

My problem is that I can't keep the modules in each list in the same order.

I was running updateBundles() and updateModules() after the stop event, but 
the readme on the repo said to use callbacks since they are used in the 
DOM. 

I tried $watch and $watchCollection.

I would like to re-order the module list and see the module change location 
in the bundles list.


http://plnkr.co/edit/L88uWnwaDRgx6u48pgAn?p=preview

-- 
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.

Reply via email to