title: ng-repeat don't add some html elemts for last item
body: <p>I searched a lot but could not find.</p>
  
  <p>Here is my html</p>
  
  <pre><code>&lt;li ng-repeat="tmp in list" ng-class="{active: $last}"&gt;
      &lt;a href="#{{tmp.url}}"&gt;{{tmp.text}}&lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>It is working fine. But what I want is for the last item in <code>ng-repeat</code>, I don't want to add the <strong><code>&lt;a&gt;</code></strong> tag. I want in the following way</p>
  
  <pre><code>&lt;li ng-repeat="tmp in list" class="active"&gt;
      {{tmp.text}}
  &lt;/li&gt;
  </code></pre>
  
  <p>For the <code>class="active"</code> I added using <code>ng-class="{active: $last}"</code>, But for this without <code>&lt;a&gt;</code> tag, how to add?</p>