title: angularjs: $filter is undefined when trying to get filtered data
body: <p>Since days im trying to get this running: With the following snippet i want to filter some persons and after onchange was fired receive the objects which have been filtered. see this Code live here: <a href="http://jsbin.com/isojof/1/" rel="noreferrer">http://jsbin.com/isojof/1/</a></p>
  
  <p>Any idea?</p>
  
  <p>There is noch $filter Object yet...but how to create one? $filter('filter') is obviously not working!</p>
  
  <pre><code>&lt;html ng-app&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Document&lt;/title&gt;
      &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  
  
  &lt;body ng-controller="List"&gt;
  
      Search: &lt;input ng-change="getData(names, query)" ng-model="query"&gt;
      Search: &lt;select ng-change="getData(names, query2)" ng-model="query2"&gt;
      &lt;option&gt;&lt;/option&gt;
      &lt;option&gt;Berlin&lt;/option&gt;
      &lt;option&gt;Hamburg&lt;/option&gt;
  &lt;/select&gt;
   &lt;div&gt;
      &lt;ul class="names" &gt;
          &lt;li ng-model="item" " ng-repeat="name in names | filter:query | filter:query2"&gt;
              {{name.firstname}}, {{name.lastname}}, {{name.age}}, {{name.location}}
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
      &lt;script type="text/javascript"&gt;
      function List($scope) {
          $scope.names = [
          {"firstname": "Carl",
          "lastname": "Luyk",
          "age": 20,
          "location":"Berlin"},
          {"firstname": "Carl",
          "lastname": "Moreen",
          "age": 20,
          "location":"Hamburg"},
          {"firstname": "Tom",
          "lastname": "Luyk",
          "age": 25,
          "location":"New York"},
          {"firstname": "Caren",
          "lastname": "Tilt",
          "age": 20,
      "location":"Paris"},
          {"firstname": "Caren",
          "lastname": "Orail",
          "age": 30,
          "location":"Hamburg"},
          ];
  $scope.getData = function (names, query) {
    $scope.queryData = $filter('filter')(names, query);
    console.log($scope.queryData);
  };
  
  
  
      }
      &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;  
  </code></pre>