title: Angular - applying filter in real time
body: <p>I have an array of objects: </p>
  
  <pre><code>[{
    name: "test",
    type: 0,
    speed: 50
  }, {
    name: "test2",
    type: 4,
    speed: 10
  }, {
    name: "test3",
    type: 4,
    speed: 67
  }, {
    name: "test4",
    type: 2,
    speed: 40
  }]
  </code></pre>
  
  <p>I want to show the array with ng-repeat..<br>
  Until here everything is simple...</p>
  
  <p>But now I want to add few buttons, each button will filter the array with other parameters...<br>
  For example:</p>
  
  <p>Button one: Show only the objects where the speed is more than X,<br>
  Button two: Show only the objects where the type is Y..<br>
  etc...</p>
  
  <p>I now how to use angular filters, but I couldn't understand how to use it for my needs...</p>
  
  <p>Thank you very much!</p>