I have a ng-repeat loop with dates in the format below:
<small>Added: <strong>{{format(contents.completeddate)}}</strong></small>
I am using a datepicker plugin that provides me with 2 objects - a start date and an end date.
For instance, contents.completeddate could be "10/02/2016".
In my controller, I have:
$scope.main.daterange= {startDate: moment().subtract(7,'d'), endDate: moment()};
The above dates are just a default set by me, but they can be changed in the HTML. Is there a way in my ng-repeat loop to filter contents.completeddate based on the date range provided by:
$scope.main.daterange.startDate
and
$scope.main.daterange.endDate