title: Angular2 - Private (non git tracked) config
body: <p>I'm getting started with angular 2/4/io. I'm using an API and therefore have a secret API key. I wonder what's the best way to hide such sensitive information so it is not tracked by Git anyhow.</p>
  
  <p>As far as I know, there is no such feature in the framework, like a <code>config.local.json</code> or so, that would be ignored by default.</p>
  
  <p>There is the <code>src/environments</code> folder, but it doesn't have a smart/composable set of config files either, and I guess I don't want to mess with the Angular default behavior to load environment files. (seems overkill)</p>
  
  <p>So, I was thinking about either make my own <code>config.local.json</code> file in src/app. Or somehow modify webpack to inject the variables at the right place, but once again it seems to be a lot of work and I don't want to eject webpack for this.</p>
  
  <p>So, what would you recommend? I guess the manual config file is the most straight-forward and simplest way, except if I'm missing something.</p>