@Sander: Yes, I switched back to using arrays. Thanks. On Thursday, January 8, 2015 10:29:38 AM UTC-8, Jay wrote: > > @Slava, Could you please give me a specific example. Are you talking about > track by feature? > > On Thursday, January 8, 2015 9:03:43 AM UTC-8, Slava Fomin wrote: >> >> However, you can use a filter to prioritize the elements in your list >> according to your needs. You can even add a special field to store the >> order in your objects. >> >> On 15:39, Thu, Jan 8, 2015 Sander Elias <[email protected]> wrote: >> >>> Hi Jay, >>> >>> No there is no way to do that. However, if you ngrepeat over a array, >>> the insertion order is respected. If you need that, use an normal array and >>> not an associative one. >>> background info, in the ngRepeat code, associative array are sorted on >>> key, there is (currently) no way to avoid that. >>> >>> I hope this helps you a bit ;) >>> >>> >>> Regards >>> Sander >>> >>> -- >>> 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. >>> >>
-- 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.
