Hi All, 

Recently my team ran into a problem where we first declare an element as 
<input> with an ng-model, and later in JS replace the element as a <div>, 
however when we step through anuglar source code, the ng-model listener 
still gets added and persists on the <div> (which we don't want, because 
it's listening for input where it shouldn't be and causing some issues for 
us). Could this be considered an Angular bug? Are there any possible 
work-arounds to remove the listener? 

Thank you very much,
Olivia

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