title: Angular filter exact match
body: <p>Okay so i wasnt quite sure what to call this question.</p>
  
  <p>But i have the following <code>ng-repeat</code>:</p>
  
  <pre><code>ng-repeat="module in modules |filter:{ module_type_id: selectedItem.id } |filter:search:strict"
  </code></pre>
  
  <p>This is iterating through objects that looks like this:</p>
  
  <pre><code>{id: 1, name: 'Hello', module_type_id: 5}
  </code></pre>
  
  <p>Now i have <code>12</code> module types so any of these objects have a <code>module_type_id</code> between 1 and 12.</p>
  
  <p>When i click one of the categories thereby selecting a type the variable <code>selectedItem</code> is set to that value. (which then sorts the list)</p>
  
  <p>This works however there is an odd bug.</p>
  
  <p>if i choose the category that has id <code>1</code> then elements with id <code>1, 10, 11,12</code></p>
  
  <p>my guess is that the filter is taking part of the value and therefor only shows results that contains the value. and since <code>1,10,11,12</code> all contain the value <code>1</code> then these results are shown.</p>
  
  <p>So how can i make sure that it only shows the result that exactly match the value?</p>