title: HTML5: How to set focus on a text input in a list with AngularJS
body: <p>I use AngularJS with the ng-repeat directive to show an array of objects as a list.</p>
  
  <pre><code>&lt;li ng-repeat="cue in cues" class="form-inline"&gt;
      &lt;input type="text" ng-model="cues[$index].text" class="input-xlarge"/&gt;
      {{cue.isNewest}}
  &lt;/li&gt;
  </code></pre>
  
  <p>The property "isNewest" is true on only one element of the array. I would like to set the keyboard focus on the text input of that item. How can I do that with AngularJS?</p>