I am using the datepicker from angular ui bootstrap and I need to apply 2 conditions, the first condition is that all days greater than today must be disable, this is easy, all I have to do is this:
$scope.dateOptions = {
formatYear: 'yyyy',
maxDate: new Date(),
startingDay: 1
};
But the second condition is the next; I have two ENABLE the next weekend ignoring the first condition. How can I do this?