title: angularJs how to add href to $first
body: <p>I am little confused on how to use <code>$first</code> to be honest, but what I am trying to do is set the first element of the repeat to have an <code>href</code> of <code>/school</code>.</p>
  
  <pre><code>&lt;a class="list-group-item btn-warning" ng-repeat="schData in sortedSchools" 
               id = bla{{$index}} 
               ng-href={{in $first: "/school"}}&gt;
      &lt;h4&gt;School Name: {{schData.schoolname}} &lt;/h4&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Could someone please explain how could I possibly to this, and also if someone knows of a good link to explain how to use <code>$first</code>?</p>
  
  <p>Thank you in advance</p>