I have been trying to pass all my options in a JSON file according to the instructions on http://angular-ui.github.io/bootstrap/#/top, but unfortunately, I haven't been able to get it to work. I've been experimenting with the Plunkr provided on the page for reference.
You can find the Plunkr here: http://plnkr.co/edit/7Sa89G5R17erJrVRxypl?p=preview
$scope.dateOptions = {
showWeeks: false,
formatDayTitle: 'MMMM yyyy',
formatDay: 'd',
isDisabledMonths: false,
showButtonBar: false
};
My markup includes:
<uib-datepicker ng-model="dt" datepicker-options="dateOptions" min-date="minDate" class="well well-sm" custom-class="getDayClass(date, mode)"></uib-datepicker>
However, despite setting 'showWeeks' to false in the options, the datepicker is still displaying the weeks.