When working in ZF2 we use configuration files that may vary from developer to developer and between production and staging environments. Its pretty convenient and as such I want to replicate this for Angular 2.
How it works in ZF2: We have a config folder with configs named: settings.local.php and settings.global.php. We then use a gitignore file to ignore anything with local in it.
I would like to do something similar with Angular 2 and am not 100% sure of the best method to go about this.
For Angular 2 I was thinking of having a config folder and then using a service to grab the configuration files…
Is there a convention for something like this in Angular 2?