title: Custom Filter for ng-repeat in controller
body: <p>I create a controller that shows data in <code>li</code> using <code>ng-repeat</code>.</p>
  
  <p>The data has a variable called <code>filter</code> and used for categorizing the data. Now I want to filter the <code>li</code> based on this variable and want to do it by using buttons.</p>
  
  <p>But I don't know how to connect the filter to the data in the controller.
  I create plunkr for it: <a href="https://embed.plnkr.co/w6bqrV/" rel="nofollow noreferrer">plunkr</a></p>