title: How to set focus on last element in ng-repeat?
body: <p>I display a list of items through ng-repeat</p>
  
  <pre><code>&lt;div ng-repeat="{item in items}" &gt;
  &lt;h3&gt;{{item.name}}&lt;/h3&gt;
  &lt;h3&gt;{{item.price}}&lt;/h3&gt;
  &lt;h3&gt;{{item.date}}&lt;/h3&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have an add where i click and add new items..I display through ng-repeat in a div and that contains scroll..Whenever i add a new item the scroll bar stand still and i can see the newly added item by scrolling down only.</p>
  
  <p>I used ng-focus="{$last}" to set focus on last item but it didnt work.</p>
  
  <p>I need to set focus on last element in ng-repeat even i have 50 elements in div.</p>
  
  <p>Plss help me in this..</p>