This worked for me on Angular 1.3.14
myServices.factory('Factory', ['$rootScope', '$location', function ($rootScope, $location) { // do something and redirect $location.path('path') $rootScope.$apply() }])
Note that $rootScope.$apply() after calling $location.path('path') , for some reason, wrapping it inside the $ apply callback, as suggested above, does not work.
source share