diff --git a/src/app/index.run.js b/src/app/index.run.js index 2aa7127..de551b9 100644 --- a/src/app/index.run.js +++ b/src/app/index.run.js @@ -6,8 +6,8 @@ .run(runBlock); /** @ngInject */ - function runBlock($log, Restangular, Session, AuthService) { - Restangular.addFullRequestInterceptor(function(element, operation, route, url, headers, params, httpConfig) { + function runBlock($log, Restangular, Session) { + Restangular.addFullRequestInterceptor(function(element, operation, route, url, headers) { if(Session.getCurrentUser()) { headers['Private-Token'] = Session.getCurrentUser().private_token; } diff --git a/src/app/profile/profile.controller.js b/src/app/profile/profile.controller.js index d86830d..f125ba8 100644 --- a/src/app/profile/profile.controller.js +++ b/src/app/profile/profile.controller.js @@ -7,7 +7,7 @@ /** @ngInject */ - function ProfileController(noosfero, $log, $stateParams, $http) { + function ProfileController(noosfero, $log, $stateParams) { var vm = this; vm.boxes = []; activate(); diff --git a/src/index.html b/src/index.html index d347022..04e169b 100644 --- a/src/index.html +++ b/src/index.html @@ -1,7 +1,7 @@ - + angular -- libgit2 0.21.2