Daily Archives: 03.06.2013

AngularJS: Внедрение зависимости от ngLocale

angular.module(‘CommonFilters’, [‘ngLocale’]). filter(‘month_names’, [‘$locale’, function ($locale) { return function month_names() { return $locale.DATETIME_FORMATS.MONTH; } }]).