Angular 2 - angular-cli: set global variable on build : <p>This is my first time trying to deploy an Angular2 application.  I want to set the URL of an API endpoint, and I would like for it to be different in every environment.</p>

<p>Is there a way to make ng build or any other tools that would allow set this for me prior to deployment?</p>
