l3l0/ng-bs-daterangepicker — pull request #2 by rostik-t (2014-03-24 07:48:01+00:00)
Title: Change return value to ngModel so that endDate is included in result value

Change this code:
$scope.$apply(function () {
ngModel.$setViewValue({ startDate: start.toDate(), endDate: end.toDate() });
});
To this:
$scope.$apply(function () {
ngModel.$setViewValue({ startDate: start.toDate().setHours(0, 0, 0), endDate: end.toDate().setHours(23, 59, 59) });
});