This is more involved than I first thought.   Here is an overview of what 
I'm trying to accomplish.

My original call to a restful login API returns a token, then I dynamically 
create a return url from another service function and then I need to 
redirect to an external URL outside of the current domain.  After reading I 
found that for external URL redirects you use $window.location.href, but in 
this use case I have to send the token from the previous service call.  So 
since I need to set a header, I use $http request.  So how do I do this 
with $window.location.href ?  I also don't want to set up headers in the 
config as I only need to set the header for this particular call to the 
external URL.  I have to think others have run into this use case, but I'm 
not finding a good solution for this.


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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.

Reply via email to