diff --git a/docs/content/error/$injector/unpr.ngdoc b/docs/content/error/$injector/unpr.ngdoc index 95344f6694f4..0442be25bb58 100644 --- a/docs/content/error/$injector/unpr.ngdoc +++ b/docs/content/error/$injector/unpr.ngdoc @@ -14,8 +14,9 @@ angular.module('myApp', []) }]); ``` -This code will fail with `$injector:unpr` if `myService` is not defined. Making -sure each dependency is defined will fix the problem. +The above code will fail with `$injector:unpr` if `myService` is not defined. + +Making sure each dependency is defined will fix the problem, as noted below. ``` angular.module('myApp', []) @@ -23,4 +24,4 @@ angular.module('myApp', []) .controller('MyController', ['myService', function (myService) { // Do something with myService }]); -``` \ No newline at end of file +```