Trollchik (1) [Avatar] Offline
Hi, i have next question. I need to disable dates in Datepicker object dynamically. I know that exist next method:

$scope.disabled = function(date, mode)

but as i understood it work just when page is loading.

I need that it work by next scheme for example:

1. I open site
2. click button
3. Make request to server and receive an array of dates to be disabled
4. showed Modal dialog with Daticker and disabled received dates in it

How to do it properly ?