We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8426ee9 commit ab605e2Copy full SHA for ab605e2
docs/content/tutorial/step_11.ngdoc
@@ -202,7 +202,7 @@ describe('PhoneCat controllers', function() {
202
respond([{name: 'Nexus S'}, {name: 'Motorola DROID'}]);
203
204
scope = $rootScope.$new();
205
- ctrl = $controller(PhoneListCtrl, {$scope: scope});
+ ctrl = $controller('PhoneListCtrl', {$scope: scope});
206
}));
207
208
@@ -237,7 +237,7 @@ describe('PhoneCat controllers', function() {
237
238
$routeParams.phoneId = 'xyz';
239
240
- ctrl = $controller(PhoneDetailCtrl, {$scope: scope});
+ ctrl = $controller('PhoneDetailCtrl', {$scope: scope});
241
242
243
0 commit comments