8000 docs(tutorial/step_05): improve explanation of _-prefix · kevinwestern/angular.js@10406de · GitHub
[go: up one dir, main page]

Skip to content

Commit 10406de

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

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)
0