clean up
This commit is contained in:
		
							parent
							
								
									20a25c38e3
								
							
						
					
					
						commit
						bc14fc15d5
					
				| @ -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; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user