title: AngularJS load config on app start
body: <p>I need to load a config file (JSON format) upon my AngularJS app startup in order to load few parameters which will be used in all api calls. So I was wondering if it is possible to do so in AngularJS and if yes where / when I shall be loading the config file?</p>
  
  <p>Note: 
  - I will need to save the config file parameters in a service, so I will need to load the json file content before any controller is loaded but with service units available
  - Using an external json file is a must in my case here as the app client need to be able to update the app configuration easily from external file without the need to go through the app sources.</p>