From 10406de450fb5f25e40a6d94b0442799ab2dca02 Mon Sep 17 00:00:00 2001 From: dumpweed Date: Tue, 27 May 2014 13:06:12 -0700 Subject: [PATCH] docs(tutorial/step_05): improve explanation of _-prefix --- docs/content/tutorial/step_05.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/tutorial/step_05.ngdoc b/docs/content/tutorial/step_05.ngdoc index bd5c0106..83302ae5 100644 --- a/docs/content/tutorial/step_05.ngdoc +++ b/docs/content/tutorial/step_05.ngdoc @@ -179,7 +179,7 @@ describe('PhoneCat controllers', function() { // The injector ignores leading and trailing underscores here (i.e. _$httpBackend_). // This allows us to inject a service but then attach it to a variable - // with the same name as the service. + // with the same name as the service in order to avoid a name conflict. beforeEach(inject(function(_$httpBackend_, $rootScope, $controller) { $httpBackend = _$httpBackend_; $httpBackend.expectGET('phones/phones.json').