aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader.js
diff options
context:
space:
mode:
authorEdward Brey2014-02-14 20:55:22 -0600
committerVojta Jina2014-03-21 11:42:18 -0700
commit6c82a497c678c2392d9902bad18640418fe1e745 (patch)
tree560f3d6696e3d6bdae7b0985f04ab0bffc78ddd4 /src/loader.js
parentdf804406fb97644a4ea8e91847170ecb75aaf1ae (diff)
downloadangular.js-6c82a497c678c2392d9902bad18640418fe1e745.tar.bz2
docs(loader): add annotations to example
Diffstat (limited to 'src/loader.js')
-rw-r--r--src/loader.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loader.js b/src/loader.js
index 5c72a982..32ce08ee 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: