Testing a date-based filter for ng-repeat