Hi Anton,

Replace is deprecated for good reasons! Internally angular puts hooks(hmm, 
let call them hooks, not entirely what happens!) on the DOM. 
for reasons that are more related to jQuery as to angular it is quite a 
problem to replace the initial node.
Also, replace does not add anything, expect the DOM tree looking a little 
bit nicer to the developer. (there are some *rare *edge cases where this 
might matter tough!)

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