diff --git a/docs/content/guide/di.ngdoc b/docs/content/guide/di.ngdoc index 83c3e9b7..8dec62e8 100644 --- a/docs/content/guide/di.ngdoc +++ b/docs/content/guide/di.ngdoc @@ -92,7 +92,7 @@ dependency lookup responsibility to the injector by declaring the dependencies a // And this controller definition function MyController($scope, greeter) { $scope.sayHello = function() { - greeter('Hello World'); + greeter.greet('Hello World'); }; } @@ -231,4 +231,4 @@ of declaring factories is: run(['depService', function(depService) { ... }]); - \ No newline at end of file +