8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ad012 commit 40c36eeCopy full SHA for 40c36ee
docs/content/tutorial/step_05.ngdoc
@@ -138,6 +138,9 @@ describe('PhoneCat controllers', function() {
138
describe('PhoneListCtrl', function(){
139
var scope, ctrl, $httpBackend;
140
141
+ // The injector ignores leading and trailing underscores here (i.e. _$httpBackend_).
142
+ // This allows us to inject a service but then attach it to a variable
143
+ // with the same name as the service.
144
beforeEach(inject(function(_$httpBackend_, $rootScope, $controller) {
145
$httpBackend = _$httpBackend_;
146
$httpBackend.expectGET('phones/phones.json').
0 commit comments