title: Different class for the last element in ng-repeat
body: <p>I am creating a list using ng-repeat something like this</p>
  
  <pre><code>  &lt;div ng-repeat="file in files"&gt;
     {{file.name}}
     &lt;/div&gt;
  </code></pre>
  
  <p>But for the last element alone I would like to have a class (<code>&lt;div class="last"&gt;test&lt;/div&gt;</code>) included to it. how can i achieve this using ng-repeat? </p>