Initialize your AngularJS app with constants loaded from the back-end.