2014-11-24 19:25:56 +01:00
|
|
|
/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2014-11-25 22:09:55 +01:00
|
|
|
/* JavaScript for common UI services */
|
2014-11-24 19:25:56 +01:00
|
|
|
|
|
|
|
(function() {
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
/* Angular module instanciation */
|
|
|
|
angular.module('SOGo.UICommon', [])
|
|
|
|
|
|
|
|
.filter('encodeUri', function ($window) {
|
|
|
|
return $window.encodeURIComponent;
|
|
|
|
})
|
|
|
|
|
|
|
|
.filter('decodeUri', function ($window) {
|
|
|
|
return $window.decodeURIComponent;
|
|
|
|
})
|
|
|
|
|
|
|
|
.filter('loc', function () {
|
|
|
|
return l;
|
|
|
|
});
|
|
|
|
|
|
|
|
})();
|