Skip to content

Commit 0870dc7

Browse files
kadiminetman92
authored andcommitted
docs(guide/Dependency Injection): minor punctuation fixes
Closes angular#12268
1 parent bba820d commit 0870dc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/guide/di.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ someModule.controller('MyController', function($scope, greeter) {
163163
});
164164
```
165165

166-
Given a function the injector can infer the names of the services to inject by examining the
167-
function declaration and extracting the parameter names. In the above example `$scope`, and
166+
Given a function, the injector can infer the names of the services to inject by examining the
167+
function declaration and extracting the parameter names. In the above example, `$scope` and
168168
`greeter` are two services which need to be injected into the function.
169169

170170
One advantage of this approach is that there's no array of names to keep in sync with the

0 commit comments

Comments
 (0)