title: AngularJS dependency injection of value inside of module.config
body: <p>Trying to setup some helpers value to the module. Tried with service and value and it didn't help:</p>
  
  <pre><code>var finance = angular.module('finance', ['finance.services'])
      .value("helpers", {
          templatePath: function (name) {
              return '/areas/scripts/finance/templates/' + name + '/index.html';
          }
      })
      .config(['$routeProvider', 'helpers', function ($routeProvider, helpers) {
      $routeProvider.
          when('/', {
              templateUrl: helpers.getTemplatePath('dashboard'),
              controller: DashboardController
          })            
          .when('/people', {
              templateUrl: '/areas/scripts/app/people/index.html',
              controller: PeopleController
          })
          .otherwise({
              redirectTo: '/dashboard'
          });
  }]);
  </code></pre>
  
  <p>What I am doing wrong?</p>