Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a659049

Browse files
dumpweedbtford
authored andcommitted
docs(tutorial/step_05): improve explanation of _-prefix
1 parent a3b9b1d commit a659049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/tutorial/step_05.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ describe('PhoneCat controllers', function() {
179179

180180
// The injector ignores leading and trailing underscores here (i.e. _$httpBackend_).
181181
// This allows us to inject a service but then attach it to a variable
182-
// with the same name as the service.
182+
// with the same name as the service in order to avoid a name conflict.
183183
beforeEach(inject(function(_$httpBackend_, $rootScope, $controller) {
184184
$httpBackend = _$httpBackend_;
185185
$httpBackend.expectGET('phones/phones.json').

0 commit comments

Comments
 (0)