Gostaria de alterar a reginal para "pt-br" no meu datepicker, estou usando AngularJS.
<input type="text" ng-model="date" jqdatepicker />
<br/>
{{ date }}
var myApp= angular.module('app', []);
myApp.directive('datepicker', function() {
return {
require: 'ngModel',
link: function(scope, el, attr, ngModel) {
$(el).datepicker({
onSelect: function(dateText) {
scope.$apply(function() {
var date = Date.parse(dateText) || 0;
ngModel.$setViewValue(date);
});
}
});
}
};
});