Leave a Comment
AngularJS: Внедрение зависимости от ngLocale
angular.module('CommonFilters', ['ngLocale']).
filter('month_names', ['$locale', function ($locale) {
return function month_names() {
return $locale.DATETIME_FORMATS.MONTH;
}
}]).
LEAVE A COMMENT
Для отправки комментария вам необходимо авторизоваться.