title: Reading server environment variable in Angular at runtime
body: <p>I am new into angular. I have deployed an angular app into a docker container in aws. The app needs to connect to aws s3 bucket. I dont need to hardcode the aws key so I setup an environment variable in the docker. the angular is deployed such that the dist folder from the ng build is served by an nginx docker container.</p>
  <p>Is it possible to read the server environment variable by the angular once the contents from the dist folder is served into the server? like env function in php and nodejs</p>