title: How to use angular 'filter' filter when repeated values are also filtered?
body: <p>I am writing an angular ng-repeat expression as follows</p>
  
  <pre><code>&lt;tr ng-repeat='instance in instances | filter : search'&gt;
      &lt;td&gt;{{$index}}&lt;/td&gt;
      &lt;td&gt;{{instance.Duration | duration}}&lt;/td&gt;
      &lt;td&gt;{{instance.Start | mediumDate}}&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>The duration filter is a custom filter that I wrote. It converts the number of seconds to number of days. For example, if instance.Duration is 172800, then the filtered value will be 2 (i.e. 172800/(24*60*60))</p>
  
  <p>Now the problem is, the ng-repeat filter is still applied for the original value(i.e 172800). </p>
  
  <p>How can I make the ng-repeat 'filter' filter to filter results based on the 'duration' filtered results?</p>
  
  <p>Here is a fiddle to show the issue 
  <a href="http://jsfiddle.net/pupudu/00qegfkc/" rel="nofollow noreferrer">http://jsfiddle.net/pupudu/00qegfkc/</a></p>