From f77c32d0d42bc19ec55bc6e0b1662c39af400f44 Mon Sep 17 00:00:00 2001 From: specialorange Date: Sun, 6 Apr 2014 15:28:56 -0400 Subject: [PATCH] Clarify which code (above and below) --- docs/content/error/$injector/unpr.ngdoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 +```