docs(minerr/unpr): fix code example

Closes #10000
This commit is contained in:
Dim
2014-11-11 12:19:36 +01:00
committed by Pawel Kozlowski
parent 830846f664
commit ebc3b7b1c3

View File

@@ -61,7 +61,7 @@ Attempting to inject one controller into another will also throw an `Unknown pro
```
angular.module('myModule', [])
.controller('MyFirstController', function() { /* ... */ });
.controller('MyFirstController', function() { /* ... */ })
.controller('MySecondController', ['MyFirstController', function(MyFirstController) {
// This controller throws an unknown provider error because
// MyFirstController cannot be injected.