When i put $state there i get this error...how can i fix it?
I want to use $state to navigate to another page but i dont know how ? Any suggestion ? Is there any other way to navigate user to another page ?
app.factory('mainAuthInterceptorService', ['$q','$state', '$injector', '$location', 'localStorageService', function ($q,$state, $injector, $location, localStorageService) {....}
im using this
authService.logOut();
And now i need to redirect user to another page ...