I have a inbox kind of view which uses a ngRepeat. Inside every row is a directive I created to mark the row (checkbox). The problem is that when I use pagination and update the source of ngRepeat in every step the directives that are created in on every page aren't destroyed. This means if you check on box on page one, one on page two and one on page three AngularJs thinks 3 items are selected. How do I destroy directives once they aren't shown anymore?
-- 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.
