AngularJS SOGo.UICommon module
parent
a64a8172be
commit
54444ddf3b
|
@ -0,0 +1,22 @@
|
|||
/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* JavaScript for common UI services for mobile theme */
|
||||
|
||||
(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;
|
||||
});
|
||||
|
||||
})();
|
Loading…
Reference in New Issue