Hi,

I've inherited a PHP/Angular app. I've got lots of experience creating Java 
web apps, but very little experience with Angular.

Our Angular code makes $http calls to a server. The server URI is 
hard-coded. I need to somehow be able to configure different URIs for dev, 
prod, etc.

This will be deployed as a Docker container, so ideally the solution would 
involve environment variables, but I can't see an obvious way that that 
would work for client-side javascript. Is there a best practice for this 
kind of thing?

Thanks in advance.

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

Reply via email to