title: Angular CLI: Change REST API URL on build
body: <p>I want to remove my local server prefix from my REST API URLs (example, <a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a>) when building for production (<code>ng build --prod</code>). </p>
  
  <p>I get that it's something to do with the environment file <code>environment.prod.ts</code>, but can't find any examples of making use of them to achieve the aforementioned. </p>
  
  <p>Would be great if someone helps me get started!</p>