title: angular using ng-model with expression in ng-repeat
body: <p>I have to make a form for a multilanguage content management system with angularJS.</p>
  
  <p>my language list is defined like this in the angular scope  : </p>
  
  <pre><code>$scope.languages = 
  [
   {id:0,'name':'English'},
   {id:1, name:'French'}
    /* ... */
  ]
  </code></pre>
  
  <p>in my html I make a form like this :</p>
  
  <pre><code>    &lt;div ng-repeat="lang in languages"&gt;
          &lt;label for="titlel{{ lang.id }}"&gt;{{ lang.name }}&lt;/label&gt;
          &lt;input type="text" class="form-control"  ng-model="editquestion['titlel{{ lang.id}}']" id="titlel{{ lang.id }}" /&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>It's not working properly, the labels are correct , but the ng-model binding don't work , no text added to the text field even if there is data is editquestion.titleX , and when I type some text in the html input field, the typed text is replicated in all fields.</p>
  
  <p>I checked with the inspector and the ng-model attribute looks correct.</p>
  
  <p>screenshots of the issue here </p>
  
  <p><a href="http://accessdev.s3.amazonaws.com/temp/replicated1.PNG" rel="nofollow">http://accessdev.s3.amazonaws.com/temp/replicated1.PNG</a></p>
  
  <p><a href="http://accessdev.s3.amazonaws.com/temp/replicated2.PNG" rel="nofollow">http://accessdev.s3.amazonaws.com/temp/replicated2.PNG</a></p>
  
  <p>the issue is not present if I make the html code manually , ex : </p>
  
  <pre><code> &lt;label for="textl0"&gt;English&lt;/label&gt;
   &lt;textarea class="form-control" ui-tinymce="tinymceOptions" ng-model="editquestion.textl0"&gt;&lt;/textarea&gt;
  
   &lt;label for="textl1"&gt;French&lt;/label&gt;
   &lt;textarea class="form-control" ui-tinymce="tinymceOptions" ng-model="editquestion.textl1"&gt;&lt;/textarea&gt;
  </code></pre>