Make a HTTP request to your server to retrieve the environment variables as JSON. That’s really all there is to it.

Google Developer Expert in Angular, Consultant and Trainer at http://www.angulartraining.com

Love podcasts or audiobooks? Learn on the go with our new app.