I choose another path. You don't have to use addControl. Indeed, adding 
ng-model on any html tag add a new NgModelController instance to your 
FormController. However, you will have to define what update the view value 
with $setViewValue and what happens when model is updated with $render. An 
exemple here : 
http://truffles.me.uk/turn-anything-into-an-ng-model-with-ngmodelcontroller 

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