luisfarzati/ng-bs-daterangepicker

Why startDate and endDate are not passed when creating daterangepicker ?

Opened this issue · 2 comments

I had to add something like this:

options.startDate = $scope[$attributes.ngModel].startDate;
options.endDate = $scope[$attributes.ngModel].endDate;

To get actual dates in view which were setted in $scope.

where did you add those two lines?