title: Change url from service when build angular 6 project
body: <p>In development, I use <code>http://localhost:565565/api/v2</code> in an angular service to retrieve data from local server.</p>
  
  <p>Now in production, I want to change that url to <code>https://www.data.com/api/v2</code>.</p>
  
  <p>How to change with angluar cli ? I don't want manually change the big <code>main.xxxxxxx.js</code> file.</p>
  
  <p>Until now I use <code>ng build --prod</code> but it is not enough.</p>