title: Filter ng-repeat by date month and year
body: <p>I have the following variable:</p>
  
  <pre><code>scope.availabilities = [
      {
          date : "2014-10-01 07:00:00",
          intervals : [...]
      },
      {
          date : "2014-10-02 07:00:00",
          intervals : [...]
      },
      ...
  ]
  </code></pre>
  
  <p>I have a date picker, and you can select to see each month. Let's call this <code>scope.month</code>. Currently, I save this as an array of <code>scope.month = [year, month]</code>, for instance <code>scope.month = [2014, 10]</code> because I want to be able to display each month's availabilities. </p>
  
  <p>Now, I want use <code>ng-repeat</code>, but filter these <code>availabilities</code> based on their <code>date</code> and only show the selected month. </p>
  
  <p>The only way I can think of doing this is to have my own custom filter, i.e.</p>
  
  <pre><code>&lt;div ng-repeat="availability in availabilities | filterByDate:month"&gt;
  </code></pre>
  
  <p>And then have my filter defined as:</p>
  
  <pre><code>app.filter('filterByDate', function()
  {
      return function(availabilities, month)
      {
          // Here do the filtering, for instance, using underscore _.filter
      }
  });
  </code></pre>
  
  <p>But is there a way I could do this natively using AnuglarJS built in filters? </p>