title: Angular Filtering based on current date
body: <p>I have an app which is needs to filter items based on whether they are equal to the current day or in the past. My date value is formatted as  a string like "12/19/2014".</p>
  
  <p>I have a filter set-up but it is returning an empty array since the date formatting isn't matching correctly.</p>
  
  <pre><code>app.filter('publishFilter', function() { 
  
     return function(items) {
  
      var newItems = [];
  
      var currentDate = new Date();
  
      angular.forEach(items, function(item) {
        if (item &lt;= currentDate) {
          newItems.push(item);
        }
      });
  
      return newItems;
    }
  });
  </code></pre>