title: angularJs filter from in controller
body: <p>i have the following arry in my scope</p>
  
  <pre><code> items: [
  {
  id: "0",
  name: "כיבוי אורות",
  roomId: "0",
  type: "scenario",
  status: 1
  },
  {
  id: "1",
  name: "הדלקת אורות",
  roomId: "0",
  type: "scenario",
  status: 1
  },
  {
  id: "0",
  name: "תנור מטבח",
  roomId: "0",
  type: "heater",
  status: 0
  }]
  </code></pre>
  
  <p>i would like to filter it by id and type within  the controller ( not by ng-repeat | filter).</p>
  
  <p>Thanks allot</p>
  
  <p>Avi</p>