'Datepicker with dynamically blocked dates from DB using AngularJS and PHP

I've been scanning the internet for a datepicker that checks in a DB if dates are available or not in the current month, but to my surprise haven't found one! Does anyone know of an datepicker like this? Or any suggestions of a AngularJS datepicker that I can build off of? Hopefully without using jQuery, to not have to include a lib when AngularJS is already loaded.

My idea is that dates in a month are all blocked until that month has been loaded, and when progress bar disappears, available dates are selectable.

Thanks!



Solution 1:[1]

You can use angular datetime picker directive. https://angular-ui.github.io/bootstrap/#!#datepickerPopup It proivdes props for disable selected date. As well as you can use Kendo UI datepicker, https://demos.telerik.com/kendo-ui/datepicker/angular. To disable any dates you need to retreive all the dates from the database and initiate datepicker with disable dates properties.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tejaswi Tandel