This commit is contained in:
Jon Lambson 2017-08-24 16:54:42 -06:00
parent 20a25c38e3
commit bc14fc15d5
1 changed files with 0 additions and 1 deletions

View File

@ -113,7 +113,6 @@ app.config(['$stateProvider', '$urlRouterProvider', 'localStorageServiceProvider
}]); }]);
app.run(['$rootScope', '$state', 'Auth', '$location', function($rootScope, $state, Auth, $location) { app.run(['$rootScope', '$state', 'Auth', '$location', function($rootScope, $state, Auth, $location) {
console.log('$location:', $location.search());
$rootScope.urlArray = []; $rootScope.urlArray = [];
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) { $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
var requiresLogin = toState.data.requiresLogin; var requiresLogin = toState.data.requiresLogin;