docs(loader): add annotations to example

This commit is contained in:
Edward Brey
2014-02-14 20:55:22 -06:00
committed by Vojta Jina
parent df804406fb
commit 6c82a497c6
+2 -2
View File
@@ -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: