From 16d0eff49e668e181095c66d33e7a5a78b089183 Mon Sep 17 00:00:00 2001 From: Nabil Kadimi Date: Fri, 3 Jul 2015 22:53:27 +0100 Subject: [PATCH] docs(guide/Dependency Injection): minor punctuation fixes --- docs/content/guide/di.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/guide/di.ngdoc b/docs/content/guide/di.ngdoc index c030ca32c801..091d37cc120b 100644 --- a/docs/content/guide/di.ngdoc +++ b/docs/content/guide/di.ngdoc @@ -163,8 +163,8 @@ someModule.controller('MyController', function($scope, greeter) { }); ``` -Given a function the injector can infer the names of the services to inject by examining the -function declaration and extracting the parameter names. In the above example `$scope`, and +Given a function, the injector can infer the names of the services to inject by examining the +function declaration and extracting the parameter names. In the above example, `$scope` and `greeter` are two services which need to be injected into the function. One advantage of this approach is that there's no array of names to keep in sync with the