Hi,

I need a sortable list of items where some items depend on other items 
which means the order of some items is fixed (i.e. you shouldn't be able to 
place item X above item Y if X depends on Y). I've succeeded in created 
this functionality: http://embed.plnkr.co/EHt2Vjd5j4kLVl4VnwyS/preview in 
this plunk all items in the list are numbered and depend on their divisors. 
However since I'm pretty new to angular I'd like some suggestions on 
improvements. I particularly don't like how I add a property to every item 
in the list so the outer directive can get the bounds information for each 
element, nor am I sure if I should prefix this item with '$$' as ngRepeat 
does. If you have any criticisms/suggestions to make it more idiomatic I'd 
love to hear it.

Regards,

gwk

-- 
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/groups/opt_out.

Reply via email to