rsanchez
2014-12-05 ab47678d768178de568d09b1a8c53470527af1a3
securis/src/main/webapp/js/main.js
....@@ -84,9 +84,8 @@
8484 m.controller('MainCtrl', ['$scope', '$http', '$location', '$L', '$store',
8585 function($scope, $http, $location, $L, $store) {
8686
87
- $scope.currentRoute = null;
88
- console.log('Current location: ' + $location);
89
- console.log($location);
87
+ $scope.$location = $location;
88
+
9089 $location.path('/login');
9190 if ($store.get('token') != null) {
9291