securis/src/main/webapp/js/main.js
.. .. @@ -84,9 +84,8 @@ 84 84 m.controller('MainCtrl', ['$scope', '$http', '$location', '$L', '$store', 85 85 function($scope, $http, $location, $L, $store) { 86 86 87 - $scope.currentRoute = null;88 - console.log('Current location: ' + $location);89 - console.log($location);87 + $scope.$location = $location;88 +90 89 $location.path('/login'); 91 90 if ($store.get('token') != null) { 92 91