I'm building an angular application. This angular application will be delivered to multiple clients with different needs and infrastructure. It will need several values (for example backend server, title, ...) that should be configurable by the customer when doing the installation of this.
In debug, I can totally imagine those values coming from the environnments/environments.ts
file, but once built, the environment.prod.ts
cannot be changed anymore and therefore might not be built.
How can I provide values(I guess either by some file or environment variables) to the angular application(and how can I read them)?
It has not been decided yet, but most probably the built files will be wrapped in an nginx docker image.