title: angularJS filter table as per data
body: <p>I have a list which look like this</p>
  
  <pre><code>[
      { OfficialID:1, name:'test', isActive:false },
      { OfficialID:2, name:'test4', isActive:true },
      { OfficialID:3, name:'test2', isActive:true }
  ]
  </code></pre>
  
  <blockquote>
    <p>now I just want to filter and only show data when isAcitve is true,</p>
  </blockquote>
  
  <p>and this is my tr of table</p>
  
  <pre><code> &lt;tr ng-repeat="d in dc.officialLeaves | filter:isActive"&gt;
       &lt;td&gt;{{d.OfficialID}}&lt;/td&gt;
   &lt;/tr&gt;
  </code></pre>
  
  <p>I think I know I want to use something like this <code>filter:isActive</code></p>
  
  <p>but what exactly should I do?</p>