Skip to content Skip to sidebar Skip to footer

Redirection After Login

I have a redirection problem in my app. These are my state providers: testApplication.config(function($stateProvider, $urlRouterProvider) { $stateProvider .state('app', { url: '/

Solution 1:

Try

$state.go('app.profile') 

instead of

$scope.$apply( function () { $location.path('profile') } );

I hope this helps others too.

Post a Comment for "Redirection After Login"