title: how to get first object in ng-repeat
body: <p>I am displaying a contact's information using ng-repeat. Each contact has details. I am trying to grab the first object in the list. Here is my code: </p>
  
  <pre><code>&lt;div ng-repeat="contact in contactList() | filter:{type: 'direct'} | filter:{duration: '1 year'} | orderBy: 'Date'"&gt;
      &lt;div ng-click="selectedContact(contact)"&gt;
          &lt;div&gt;{{contact.name}}&lt;/div&gt;
          &lt;div&gt;{{contact.type}}&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>contactList() is a function calling services:</p>
  
  <pre><code>$scope.contactList = function () {
      return ContactService.getContactList();
  };
  </code></pre>
  
  <p>How do I get the first contact object in the ng-repeat? I want to save that object for other windows.</p>