title: How to change variable value in index.html based on the environment in angular
body: <p>How can i change config.apiKey value based on the angular environments like Development &amp; Production. </p>
  
  <pre><code>For Production config.appKey = 'AB-AAB-AAB-MPR';
  
  For Development config.appKey = 'AC-DDR-SST-DKR';
  
  Please find the code for reference.
  
  `&lt;script charset='UTF-8'&gt;
      window['adrum-start-time'] = new Date().getTime();
      (function(config){
          config.appKey = 'AC-DDR-SST-DKR';
      })(window['adrum-config'] || (window['adrum-config'] = {}));
    &lt;/script&gt;
  `
  
  Thanks
  </code></pre>