21 lines
641 B
JavaScript
21 lines
641 B
JavaScript
"use strict";
|
|
/**
|
|
* Created by igor.samulenko on 4/18/2014.
|
|
*/
|
|
(function () {
|
|
'use strict';
|
|
angular.module('l10nModule').service('l10nService', ['$resource', function ($resource) {
|
|
return $resource('/smartit/rest/localization/message', {}, {
|
|
getMessages: {
|
|
url: '/smartit/rest/localization/message/get',
|
|
method: 'GET',
|
|
isArray: true
|
|
},
|
|
updateMessage: {
|
|
url: '/smartit/rest/localization/message/update',
|
|
method: 'POST'
|
|
}
|
|
});
|
|
}]);
|
|
})();
|