krescruz / angular-materialize

Angularjs directives for Materialize CSS Framework https://github.com/Dogfalo/materialize
MIT License
397 stars 129 forks source link

Datepicker's firstDay attribute doesn't work #187

Closed chosa91 closed 8 years ago

chosa91 commented 8 years ago

Describe the error in 1 sentence

Datepicker's firstDay attribute doesn't work. I setted it in the $scope.firstDay and in the element firstDay="{{ firstDay }}", but it's doesn't work.

webbiesdk commented 8 years ago

You can see in the documentation that I just pushed how first-day is set, like this: first-day="1". Valid inputs are 0 (for sunday) or 1 (for monday).