diff --git a/src/app/components/tags/tags.controller.js b/src/app/components/tags/tags.controller.js index d36da3ee..9805eed7 100644 --- a/src/app/components/tags/tags.controller.js +++ b/src/app/components/tags/tags.controller.js @@ -9,7 +9,7 @@ ]; function tagsController(tag, $scope, device, $state, $q, PreviewDevice, - animation, $timeout, $rootScope) { + animation) { var vm = this; @@ -27,7 +27,7 @@ $state.transitionTo('layout.home.kit'); } - if (device.getWorldMarkers()) { + if (device.getWorldMarkers()) { // If the user has already loaded a prev page and has markers in mem or localstorage updateSelectedTags(); } else { diff --git a/src/app/components/userProfile/userProfile.controller.js b/src/app/components/userProfile/userProfile.controller.js index 08e23476..61bf88cd 100644 --- a/src/app/components/userProfile/userProfile.controller.js +++ b/src/app/components/userProfile/userProfile.controller.js @@ -5,10 +5,10 @@ .controller('UserProfileController', UserProfileController); UserProfileController.$inject = ['$scope', '$stateParams', '$location', - 'utils', 'user', 'device', 'alert', 'auth', 'userUtils', '$timeout', 'animation', + 'user', 'auth', 'userUtils', '$timeout', 'animation', 'NonAuthUser', '$q', 'PreviewDevice']; - function UserProfileController($scope, $stateParams, $location, utils, - user, device, alert, auth, userUtils, $timeout, animation, + function UserProfileController($scope, $stateParams, $location, + user, auth, userUtils, $timeout, animation, NonAuthUser, $q, PreviewDevice) { var vm = this;