AngularJS SOGo.UICommon module

pull/91/head
Francis Lachapelle 2014-11-24 13:25:56 -05:00
parent a64a8172be
commit 54444ddf3b
1 changed files with 22 additions and 0 deletions

View File

@ -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;
});
})();