Creating Dynamic Forms Using Ng-repeat
Hello everyone I need to create some dynamic forms so users can configure feeds to their specification. I have used ng-repeat to do the following: For each feed a user needs to co
Solution 1:
use ng-model
<inputtype="text"class="form-control" ng-model="property.value">
This way the textbox is bound to property.value. angular automatically updates property.value when you change the text in the textbox. You can use it in your JS just like any other variable. That's the beauty of angular.
Post a Comment for "Creating Dynamic Forms Using Ng-repeat"