Hi Kamal,

Here is a small plunk <http://plnkr.co/edit/H6C06tnNY0xgIviGwDgA?p=preview> 
that shows you the destroy is actually called inside an ngIf. Have a look 
at the console in there, and toggle the button.
The actual watcher on the ngIf itself is part of the scope that holds the 
ngIf. Otherwise, it would only fire once.

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/d/optout.

Reply via email to