it turns out I can simply use document.location.host.


On Wednesday, March 15, 2017 at 11:17:18 AM UTC-7, Reza Razavipour wrote:
>
> from inside an angular 2 component, I need to determine the url:port that 
> my container application is running at.
>
> How can I do that?
>

-- 
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