title: Angular custom filter logs out as working with some matches but filters out all results
body: <p>I think I may have a syntax error in here somewhere. The idea is that the user selects currencies that they are interested in. Subsequently I only want to print out rows of the currencies table that have a matching currency. I am using a custom filter to achieve this. </p>
  
  <p>I want to either fix my custom filter syntax or look at a way to use a built in filter to achieve the same thing.</p>
  
  <pre><code>//directive html
  &lt;table class="table table-striped"&gt;
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;th&gt;Currency&lt;/th&gt;
        &lt;th&gt;Gram Price&lt;/th&gt;
        &lt;th&gt;Ounce Price&lt;/th&gt;
        &lt;th&gt;Kilo Price&lt;/th&gt;
        &lt;th&gt;24 hr Change&lt;/th&gt;
        &lt;th&gt;1 yr Change&lt;/th&gt;
        &lt;th&gt;10 yr Change&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;tr ng-repeat="quote in vm.quotes | selectedCurrencies:vm.selectedCurrencies()"&gt;
          &lt;th scope="row"&gt;{{quote.currency}}&lt;/th&gt;     
          &lt;td&gt;{{quote.price}}&lt;/td&gt;
          &lt;td&gt;{{quote.ouncePrice}}&lt;/td&gt;
          &lt;td&gt;{{quote.kiloPrice}}&lt;/td&gt;
          &lt;td&gt;{{quote.change.d1}}&lt;/td&gt;
          &lt;td&gt;{{quote.change.y1}}&lt;/td&gt;
          &lt;td&gt;{{quote.change.y10}}&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  
  //filter
  angular.module('bgAngularTest').filter('selectedCurrencies', function($log) {
      return function(quotes, selectedCurrencies) {
          if(!quotes.length){
              return;
          }
          return quotes.filter(function(quote) {
              selectedCurrencies.forEach(function(cur){
  
                  $log.info(quote.currency +' ==== '+ cur + ' ?');
  
                  if(cur === quote.currency){
                      $log.info('match');
                      return true;
                  }
              })
              return false;               
          });
      };
  });
  
  //example of quote data
  
  {
      "quotes": [{
          "currency": "USD",
          "price": 40.55,
          "symbol": "$",
          "change": {
              "d1": 0.0116,
              "y1": 0.0425,
              "y10": 1.1029
          }
      }, ...]
  }
  
  //example of currency list
  
  ["RUB","USD","EUR"]
  </code></pre>