Added event handler to change date from external functions.
An example would be:
// this would move the day forward
$scope.$broadcast('changeDate', 1);
// this would move the day backward
$scope.$broadcast('changeDate', -1);
I found this useful for creating my own controls, especially if one doesn't wish to use the built in ones, and disables them in code. Hopefully you will find it useful as well.
Added event handler to change date from external functions.
An example would be:
I found this useful for creating my own controls, especially if one doesn't wish to use the built in ones, and disables them in code. Hopefully you will find it useful as well.