My Thoughts:
<input type="text" class="datepicker" placeholder="DD/MM/YYYY" id="datepicker" ng-model="datepicker" name="datepicker" style="width:100%" tabindex="4" required/>`
Controller:
`$('#datepicker').datepicker({
format: 'mm-dd-yyyy',
endDate: '+0d',
autoclose: true
});
I am encountering an error message stating
TypeError: $(...).datepicker is not a function
I am looking to prevent selection of future dates beyond today's date.
Working on finding a solution.