Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 510c328 commit 6c3a051Copy full SHA for 6c3a051
docs/content/error/$injector/unpr.ngdoc
@@ -14,13 +14,14 @@ angular.module('myApp', [])
14
}]);
15
```
16
17
-This code will fail with `$injector:unpr` if `myService` is not defined. Making
18
-sure each dependency is defined will fix the problem.
+The above code will fail with `$injector:unpr` if `myService` is not defined.
+
19
+Making sure each dependency is defined will fix the problem, as noted below.
20
21
22
angular.module('myApp', [])
23
.service('myService', function () { /* ... */ })
24
.controller('MyController', ['myService', function (myService) {
25
// Do something with myService
26
-```
27
+```
0 commit comments