Move header assignment to app level

This commit is contained in:
Blade Barringer
2015-11-12 12:23:42 -06:00
parent 92a8c3d958
commit 431bbd762f
4 changed files with 5 additions and 5 deletions

View File

@@ -36,8 +36,6 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
$rootScope.toJson = angular.toJson;
$rootScope.Payments = Payments;
$http.defaults.headers.common['x-client'] = 'habitica-web';
// Angular UI Router
$rootScope.$state = $state;
$rootScope.$stateParams = $stateParams;