docs(error/$injector/unpr): use Controller suffix

This commit is contained in:
Brian Ford
2014-03-25 17:10:51 -07:00
parent 5ced7b20ff
commit bf2264e2aa
+2 -2
View File
@@ -9,7 +9,7 @@ correctly. For example:
```
angular.module('myApp', [])
.controller('myCtrl', ['myService', function (myService) {
.controller('MyController', ['myService', function (myService) {
// Do something with myService
}]);
```
@@ -20,7 +20,7 @@ sure each dependency is defined will fix the problem.
```
angular.module('myApp', [])
.service('myService', function () { /* ... */ })
.controller('myCtrl', ['myService', function (myService) {
.controller('MyController', ['myService', function (myService) {
// Do something with myService
}]);
```