title: Error: [$injector:unpr] Unknown provider: routeParamsProvider <- routeParams using LazyLoad
body: <p>I'm using LazyLoad to make a on-demand load of the angular controllers, and trying to build all the paths at the moment, but always getting the error:</p>
  
  <pre><code>Error: [$injector:unpr] Unknown provider: routeParamsProvider &lt;- routeParams
  </code></pre>
  
  <p>Below it's the routeProvider snippet</p>
  
  <pre><code> $routeProvider
              .when("/", {templateUrl: "principal/index"})
              .when('/:controller/:action', {
                  templateUrl: function(routeParams){
                      return routeParams.controller+"/"+ routeParams.action;
                  },
                  resolve: function(routeParams){
                      lazyLoad('assets/controller/'+routeParams.controlador+'/'+routeParams.controller+'Controller.js');
                      return lazyload; 
                  },
                  controller: function(routeParams){ 
                      return routeParams.action;
                  }
              })
              $httpProvider.interceptors.push('authHttpResponseInterceptor');
              $httpProvider.defaults.transformRequest.push(spinnerFunction);
        }]);
  </code></pre>
  
  <p>I can't even get a console.log about the path that the lazyLoad function it's receiving.</p>
  
  <p>Any suggestion about what I'm doing wrong??</p>
  
  <p>Thanks in advance.</p>