title: Angular filter exactly on object key
body: <p>I have a small angular app like so:</p>
  
  <p><strong>html</strong></p>
  
  <pre><code>&lt;body ng-app&gt;
    &lt;div ng-controller="Ctrl"&gt;
      &lt;div ng-repeat="user in users | filter:1"&gt;
        &lt;span&gt;{{ user.username }}, {{ user.id }}&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p><strong>app.js</strong></p>
  
  <pre><code>function Ctrl($scope) {
    $scope.users = [
      {"id":1,"username":"simon",},
      {"id":8,"username":"betty",},
      {"id":14,"username":"archie",},
      {"id":3,"username":"jumbo1"},
    ]
  }
  </code></pre>
  
  <p><strong>output</strong></p>
  
  <pre><code>simon, 1
  archie, 14
  jumbo1, 3
  </code></pre>
  
  <p>What I want to do is filter an <em>exact</em> match for filter argument AND filter on the id field ONLY.</p>
  
  <p>Basically, I want the output to be:</p>
  
  <p><strong>output</strong></p>
  
  <pre><code>simon, 1
  </code></pre>
  
  <p>I am using Angular 1.2.</p>