title: AngularJS filter exact values with length
body: <p>What I want to do is count the filter length of an array of objects by a particular property based on the repeater scope. This code technically works (it displays the correct count of the filter):</p>
  
  <pre><code>&lt;li ng-repeat="question in questions" id="{{ question.id }}"&gt;
      {{ question.text }}
      &lt;ul&gt;
          &lt;li ng-repeat="answer in question.answers" id="{{ answer.id }}"&gt;
              {{ answer.text }} (&lt;span ng-controller='AnswersController'&gt;{{ (useranswers|filter:{answer_id:answer.id}).length }}&lt;/span&gt;)
           &lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
  </code></pre>
  
  <p>The problem is, when scope ID is <code>1</code> (for example), it matches on <code>1</code>,<code>10</code>,<code>11</code>,<code>21</code>, etc. I'd like to make the exact code I have above work on an exact match. </p>
  
  <p>Please let me know what supporting code would be helpful.</p>