I would like to use the setDateDisabled method in bootstrap-datepicker, but unsure on how to use it in angular.
https://bootstrap-datepicker.readthedocs.org/en/latest/methods.html#setdatesdisabled
I managed to initialize the datepicker nicely with
<input ui-date="datepickerOptions" ng-model="rigDate.date" />
and this on the javascript side
$scope.datepickerOptions = {
orientation: 'top',
startDate: PayPeriodService.getStartDate(),
endDate: PayPeriodService.getEndDate(),
format: 'yyyy-mm-dd',
};
using angular-ui