Hi Martin, This has nothing to do with AngularJS. When you create a new item, you create a single todo-object, you push this item into both lists. Objects are always passed by reference, so you just have 1 item in 2 lists. Then you go and convert the thing to JSON. JSON is a text format and has no idea of references. When loading everything gets parsed into its own place from text, leaving you with seperate items.
Does this help you? 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/groups/opt_out.
