title: Read values from environment variable Angular 4
body: <p>I am trying to read the environment variable property using </p>
  
  <blockquote>
    <p>process.env['KEY_TO_READ']</p>
  </blockquote>
  
  <p>This KEY_TO_READ i am setting up in the environment variable. But, its not taking up at compile time only i am getting the below error:</p>
  
  <pre><code>Cannot find name 'process'.
  </code></pre>
  
  <p>Somewhere i read like in angular app we cannot use process because it will be defined at runtime. Is it correct ? If yes then can anyone suggest how i can achieve this . I don't want to use angular-cli environment file options.</p>