title: AngularJS : ng-repeat filter when value is greater than
body: <p>I have a simple ng-repeat that throws out data, one of fields it displays is NumberOfStamps:</p>
  
  <pre><code>&lt;tr ng-repeat-start="list in Data.Items "&gt;
     &lt;td&gt;&lt;a href=" {[{list.Title}]} {[{list.ForeName}]} {[{list.SurName}]}&lt;/a&gt;&lt;/td&gt;
     &lt;td&gt;(Date of Birth {[{list.Dob}]})&lt;/td&gt;
     &lt;td&gt;{[{list.NumberOfStamps}]}  stamps&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>Example output:</p>
  
  <pre><code>Mr Adam Happy  Date of Birth 01/6/1984     16 stamps
  Mr Adam Sad    Date of Birth 24/11/1975    0 stamps
  Mr Adam Green  Date of Birth 02/1/1963     1 stamps
  Mr Adam Red    Date of Birth 21/1/1951     12 stamps
  Mr Adam Blue   Date of Birth 28/10/1998    0 stamps
  Mr Adam Brown  Date of Birth 25/9/2010     0 stamps
  Mr Adam Black  Date of Birth 24/8/1954     21 stamps
  Mr Adam Violet Date of Birth 17/5/1942     54 stamps
  </code></pre>
  
  <p>How can i modify this ng-repeat to only show records where the NumberOfStams is > 0? I've tried:</p>
  
  <pre><code>&lt;tr ng-repeat-start="list in Data.Items | filter:{NumberOfStamps &gt; 0}"&gt;
     &lt;td&gt;&lt;a href=" {[{list.Title}]} {[{list.ForeName}]} {[{list.SurName}]}&lt;/a&gt;&lt;/td&gt;
     &lt;td&gt;(Date of Birth {[{list.Dob}]})&lt;/td&gt;
     &lt;td&gt;{[{list.NumberOfStamps}]}  stamps&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>Mr Adam Happy  Date of Birth 01/6/1984     16 stamps
  Mr Adam Green  Date of Birth 02/1/1963     1 stamps
  Mr Adam Red    Date of Birth 21/1/1951     12 stamps
  Mr Adam Black  Date of Birth 24/8/1954     21 stamps
  Mr Adam Violet Date of Birth 17/5/1942     54 stamps
  </code></pre>