bootstrap AngularJS apps with asynchronously loaded configuration