What would be the right (angular-wise) way to load data in the app.config block?
Would a boot module+provider help? i tried the following approach (streamlined) http://jsfiddle.net/Vd5Pg/1/ with no success.
angular.module('boot',[]).provider('test', function(){
  this.$get = function() {
    return {
      getString: function() { return "i am a string"; }
    }
  };
});
angular.module('main',['boot']).config(['testProvider', function(test) {
  //no luck with getString
}]);
The real life situation is that i'd like to load localized routes and determine current language before configuring the $routeProvider. TIA.