title: Angular filter checks for 'contains' and not 'equals'
body: <p>I'm trying to match rules to fields using the 'filter' filter in Angular as shown here:
  <a href="http://plnkr.co/edit/dQiv5lRzhQNjXZ6pVdWO?p=preview" rel="nofollow">http://plnkr.co/edit/dQiv5lRzhQNjXZ6pVdWO?p=preview</a></p>
  
  <p>I'm using the filter as shown below:</p>
  
  <pre><code>&lt;div ng-repeat="f in fields"&gt;
        &lt;h4&gt;{{f.id}}&lt;/h4&gt;
        &lt;li ng-repeat = "rule in rules | filter:{field: {id: f.id} }"&gt;
          {{rule.name}}
        &lt;/li&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>This works fine with single digit ids, but with two digits, as shown below:</p>
  
  <pre><code>$scope.fields = [{id: 1}, {id: 2}, {id: 3}];
  $scope.rules = [{name: "A", field: {id: 12, age: 3}}, {name: "B", field: {id: 2, age: 1}}];
  </code></pre>
  
  <p>The rule with id 12 gets matched to the fields with ids of 1 and 2, when it should only get matched to fields of id 12. Is there a way to do this with the default filter, or should I create a custom filter?</p>