We have a problem when using our directives within an ngRepeat and have experienced that the directives used in the repeater are recreated every time collection of items that the repeater is using is refreshed. So if we add two items, foo1 and foo2, and then removes foo2 from the collection of items the item foo1 is recreated and its constructor is executed again.
Our problem is that the state of the controllers within the ngRepeate is lost when the site is updated. Anyone have any good pattern to use or samle code that might guide us in our quest for loving Angular? =) -- 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.
