Is there a way to accomplish this?
ng-model="{{att.myModel}}"
I have an array called AllSmallText which contains items. I want to create a form using ng-repeat on AllSmallText and set the ng-model value to be myModel, which is one of the item fields.
<div ng-repeat="att in AllSmallText" class="col-xs-6 col-md-6">
<input class="form-control" name="firstname" placeholder="{{att.title}}" type="text"
ng-model="{{att.myModel}}"
required autofocus />
</div>
Thank you