Skip to content

Commit c2f3a79

Browse files
kadimiNarretz
authored andcommitted
docs(guide/Dependency Injection): minor punctuation fixes
Closes angular#12268
1 parent 4b07dca commit c2f3a79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/guide/di.ngdoc

Lines changed: 2 additions & 2 deletions
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)