title: NG-Repeat compare to current date using filter?
body: <p>Ok I have an object that contains a list of dates and I'm traversing it like so: </p>
  
  <pre><code>&lt;select ng-click="monthpicker()" &gt;
  &lt;option class="animate-repeat" ng-repeat="returnpicker in monthpicker(alldatesdump)"      value="{{returnpicker.date}}"&gt;{{returnpicker.date  | date:'yyyy-MMM' }}&lt;/option&gt; 
  &lt;/select&gt;
  </code></pre>
  
  <p>using ng-repeat this returns the following: </p>
  
  <pre><code>&lt;select ng-click="monthpicker()"&gt;
    &lt;!-- ngRepeat: returnpicker in monthpicker(alldatesdump) --&gt;
    &lt;option class="animate-repeat ng-scope ng-binding" ng-repeat="returnpicker in monthpicker(alldatesdump)" value="2013-Nov"&gt;2013-Nov&lt;/option&gt;
    &lt;option class="animate-repeat ng-scope ng-binding" ng-repeat="returnpicker in monthpicker(alldatesdump)" value="2013-Nov"&gt;2013-Nov&lt;/option&gt;
    &lt;option class="animate-repeat ng-scope ng-binding" ng-repeat="returnpicker in monthpicker(alldatesdump)" value="2013-Nov"&gt;2013-Nov&lt;/option&gt;
    &lt;option class="animate-repeat ng-scope ng-binding" ng-repeat="returnpicker in monthpicker(alldatesdump)" value="2013-Nov"&gt;2013-Nov&lt;/option&gt;
    &lt;option class="animate-repeat ng-scope ng-binding" ng-repeat="returnpicker in monthpicker(alldatesdump)" value="2013-Nov"&gt;2013-Nov&lt;/option&gt;
    &lt;option class="animate-repeat ng-scope ng-binding" ng-repeat="returnpicker in monthpicker(alldatesdump)" value="2013-Nov"&gt;2013-Nov&lt;/option&gt;
    &lt;option class="animate-repeat ng-scope ng-binding" ng-repeat="returnpicker in monthpicker(alldatesdump)" value="2013-Nov"&gt;2013-Nov&lt;/option&gt;
    &lt;option class="animate-repeat ng-scope ng-binding" ng-repeat="returnpicker in monthpicker(alldatesdump)" value="2013-Nov"&gt;2013-Nov&lt;/option&gt;
  </code></pre>
  
  <p>and so on for each month in the object now this is because it's returning a month name and a  year for each day in the object. 
  Ok so i have two questions: 
  1: How do i filter the results so they only return one example of each month name and the year? 
  2: how do i set it so it returns only from the current month? 
  I'd like to achive this using AngularJS filters only but i do have jquery avail if needed!
  <strong><em>*</em>**<em>*</em>**<em>*</em>*</strong><em>UPDATE</em><strong><em>*</em>**<em>*</em>**<em>*</em>**<em>*</em>****</strong>
  heres the current scope item in my JS file: </p>
  
  <pre><code>scope.monthpicker = function(alldatesdump){
  
  var alldatesdump = booking.getalldates();
  /*for (var date in alldatesdump){
      if (alldatesdump.hasOwnProperty(date)){
          console.log(date);
      }
  }
  for (var date in alldatesdump) {
     var obj = alldatesdump[date];
     for (var prop in obj) {
        // important check that this is objects own property 
        // not from prototype prop inherited
        if(obj.hasOwnProperty(prop)){
          console.log(prop + " = " + obj[prop]);
        }
     }
  }*/
  return alldatesdump;
  }; 
  </code></pre>