In this video...

You will learn about the environment files and how to use them in your project.

In an Angular application, in the environments directory is an environment.ts file. This file has settings you can use during development. The other files in this directory contain the settings needed in other environments. By default, there is an environment.prod.ts file. This will be used during production and will replace the environment.ts file during a production build.

To access the content of the environments file, you simply import the file where needed, and then reference any of its properties.