angular/angular.js — pull request #1756 by mghardy (2012-12-31 05:49:49+00:00)
Title: doc(guide): In DI, add missing greet method to greeter service in $scope...

doc(guide): In DI, add missing greet method to greeter service in $scope.sayHello

MyController defines a $scope.sayHello function to demo the greeter service. But the actual greet method was omitted in the example code. Now instead of greeter('Hello World') we call greeter.greet('Hello World') to match the object returned from the greeter factory.