diff --git a/docs/content/tutorial/step_11.ngdoc b/docs/content/tutorial/step_11.ngdoc index 51612e91c0d4..2935355bfd59 100644 --- a/docs/content/tutorial/step_11.ngdoc +++ b/docs/content/tutorial/step_11.ngdoc @@ -202,7 +202,7 @@ describe('PhoneCat controllers', function() { respond([{name: 'Nexus S'}, {name: 'Motorola DROID'}]); scope = $rootScope.$new(); - ctrl = $controller(PhoneListCtrl, {$scope: scope}); + ctrl = $controller('PhoneListCtrl', {$scope: scope}); })); @@ -237,7 +237,7 @@ describe('PhoneCat controllers', function() { $routeParams.phoneId = 'xyz'; scope = $rootScope.$new(); - ctrl = $controller(PhoneDetailCtrl, {$scope: scope}); + ctrl = $controller('PhoneDetailCtrl', {$scope: scope}); }));