title: AngularJS ng-bind to specific array element
body: <p>I have elements in my page that's being repeated as rendered by ASP.Net MVC. (I need to do this for SEO purposes.)</p>
  
  <p>Within these elements, I would like to have a text field that's bound by AngularJS.</p>
  
  <p>Is there a way to do this?</p>
  
  <p>In the code below, for example, the 2nd and 3rd text fields don't even allow me to type anything. Is it because I have not properly initialized the array or is there something wrong with the syntax?</p>
  
  <pre><code>&lt;input type="text" ng-model="sometext" /&gt;
  &lt;input type="text" ng-model="sometextArray1[1]" /&gt;
  &lt;input type="text" ng-model="sometextArray2[1].value" /&gt;
  
  
  &lt;h1&gt;Hello #1 {{ sometext }}&lt;/h1&gt;
  &lt;h1&gt;Hello #2 {{ sometextArray1[1] }}&lt;/h1&gt;
  &lt;h1&gt;Hello #3 {{ sometextArray2[1].value }}&lt;/h1&gt;
  </code></pre>