Wrote about how to set up environment variables in Angular:
System environment variables in Angular