Issue 1: Update multiple client projects by replacing variables in main.**.js file
On your production build of Angular project, If You want to read data from external configuration file (let’s say json format), in order to avoid building process for all the time while upgrading same code everywhere, on each servers. You can easily create the json file and update the values only when needed, it will dynamically read your latest changes. Isn’t cool?
Issue 2: If You have to update labels everywhere in your entire application, but you hardcoded it and so making multiple changes everywhere, is much time consuming.
What if you put everything in your json file or constant file? If you want to update that labels to English, Spanish, German, French or any language, you need to update everything in your entire application.