Nope. Each of us programs a little differently. Personally, I'd probably transform the data before sending to storage so that each todo is a single object that references the lists it belongs to. That way upon retrieving them you just rebuild your lists' arrays pointing to a single object that shared again.
On Tue, Feb 25, 2014 at 1:42 AM, Martin Doktár <[email protected]>wrote: > Hi! > > Thanks for your answers! I was guessing this was happening. Any tips on > how I could manage this when retrieving the object? There are no "best > practises" for this? > > Regards, > Martin > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/1vNeCii3cdk/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
