summaryrefslogtreecommitdiff
path: root/client/js/app.js
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-02-17 14:01:13 +0100
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-02-17 14:01:13 +0100
commit7e5db6b5420755a76c1efcd87bf2a61b111b4c09 (patch)
treed575958fb699ea5817f8c13456dc624bc3300d31 /client/js/app.js
parent8c6b1cecd310acebd63c73628688aa0fcf8cb126 (diff)
Use angular-cookirs
Diffstat (limited to 'client/js/app.js')
-rw-r--r--client/js/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/js/app.js b/client/js/app.js
index 90fae89..e2d5b9b 100644
--- a/client/js/app.js
+++ b/client/js/app.js
@@ -3,7 +3,7 @@
* The main app module instance
* @type angular.module.angular-1_3_6_L1749.moduleInstance
*/
-var mainApp=angular.module("mainApp",['ngRoute', 'ngSanitize']);
+var mainApp=angular.module("mainApp",['ngRoute', 'ngSanitize', 'ngCookies']);
/**
* Configure routeProvider
@@ -29,6 +29,5 @@ mainApp.config(['$routeProvider', function($routeProvider){
*/
mainApp.config(['$httpProvider', function($httpProvider){
$httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8';
-
}]);