title: angular- get ng-model name from scope var
body: <p>There is any way to do it? </p>
  
  <pre><code>  ng-model="{{att.myModel}}"
  </code></pre>
  
  <p>I have an array named     AllSmallText  with items. I want to build form using ng-repeat on AllSmallText  and put ng-model value to be myModel which is one of the item field.</p>
  
  <pre><code>   &lt;div ng-repeat="att in AllSmallText" class="col-xs-6 col-md-6"&gt;
             &lt;input class="form-control" name="firstname" placeholder="{{att.title}}"  type="text"
                ng-model="{{att.myModel}}"
                required autofocus /&gt;
     &lt;/div&gt;
  </code></pre>
  
  <p>thanks</p>