Yes I am doing that. But somehow the new window gets redirected to the home
page itself and not the target page.
I have this code that resets the session -
this.login = function (credentials) {alert("called login from
loginController");
AuthService.login(credentials).then(function(principal){
selectionCriteria.clear();
sessionService.reset();
$location.path('/');
}, function(){
login.error = true;
});
}
I guess what I have to do it make it stop getting redirected to the
home page by saying something like
if location is /signals do not go to the home page?
On Sun, Mar 6, 2016 at 12:39 AM, Sander Elias <[email protected]> wrote:
> $windows.open('#/myStatusRoute');
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/edzuR-ClDsM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>
--
Regards
Rishupreet
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.