All form controllers in the Scope inside the ng-repeat are set to undefined.

Whenever the value of object in ng-repeat changes, 

Earlier version (AngularJs 1.2), the sequence of execution is as below,

$destroy -> removeController(formController) 
addControl(formConroller)


New version (AngularJs 1.6) , the sequence of execution is as below, 

addControl(formController)
$destroy -> removeController(formController) 

As the $destoy is execute after addControl, the scope have all the 
formControllers set to undefined.

has anyone faced a similar issue?


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to