Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 547871e

Browse files
breyedbtford
authored andcommitted
docs(loader): add annotations to example
1 parent a4b70cf commit 547871e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/loader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ function setupModuleLoader(window) {
5555
* myModule.value('appName', 'MyCoolApp');
5656
*
5757
* // configure existing services inside initialization blocks.
58-
* myModule.config(function($locationProvider) {
58+
* myModule.config(['$locationProvider', function($locationProvider) {
5959
* // Configure existing providers
6060
* $locationProvider.hashPrefix('!');
61-
* });
61+
* }]);
6262
* ```
6363
*
6464
* Then you can create an injector and load your modules like this:

0 commit comments

Comments
 (0)