sogo/UI/WebServerResources/js/Common/decodeUri.filter.js
Francis Lachapelle 1dc5f0d412 (js) New file structure for Angular modules
JavaScript files are now merged by the 'js' Grunt task.
2015-06-12 12:01:21 -04:00

20 lines
353 B
JavaScript

/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/**
* @type {angular.Module}
*/
(function () {
'use strict';
/**
* @ngInject
*/
decodeUri.$inject = ['$window'];
function decodeUri($window) {
return $window.decodeURIComponent;
}
angular.module('SOGo.Common')
.filter('decodeUri', decodeUri);
})();