From 547871e779f7a1e340c03296405735415764a0e8 Mon Sep 17 00:00:00 2001 From: Edward Brey Date: Fri, 14 Feb 2014 20:55:22 -0600 Subject: [PATCH] docs(loader): add annotations to example --- src/loader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: