12345678910111213141516171819 |
- /*!
- * angular-translate - v2.4.2 - 2014-10-21
- * http://github.com/angular-translate/angular-translate
- * Copyright (c) 2014 ; Licensed MIT
- */
- angular.module('pascalprecht.translate').factory('$translateCookieStorage', [
- '$cookieStore',
- function ($cookieStore) {
- var $translateCookieStorage = {
- get: function (name) {
- return $cookieStore.get(name);
- },
- set: function (name, value) {
- $cookieStore.put(name, value);
- }
- };
- return $translateCookieStorage;
- }
- ]);
|