diff --git a/src/loader.js b/src/loader.js index 5c72a98222d6..32ce08ee0c28 100644 --- a/src/loader.js +++ b/src/loader.js @@ -55,10 +55,10 @@ function setupModuleLoader(window) { * myModule.value('appName', 'MyCoolApp'); * * // configure existing services inside initialization blocks. - * myModule.config(function($locationProvider) { + * myModule.config(['$locationProvider', function($locationProvider) { * // Configure existing providers * $locationProvider.hashPrefix('!'); - * }); + * }]); * ``` * * Then you can create an injector and load your modules like this: