Hello,

I am quite new to Angular, but I couldn't find an answer for this:

Please have a look at this 
example: http://plnkr.co/edit/BzTpZ7n9jkSodtKQqvzU?p=preview  (On load, you 
should see 3 x template. Press Remove UL, then press Change).

As you can see, there is an UL with a custom directive applied for LI 
items. My problem is that after I remove the UL from DOM and update 
something in the $scope.list, the directive controller is executed for the 
updated item. How can I avoid this? The change in model should not fire the 
directive on items that are removed from DOM.

Thanks

-- 
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.

Reply via email to