Skip to content

Commit ffcfe7a

Browse files
Alex Youngpetebacondarwin
authored andcommitted
docs(guide/di): fix some small grammatical issues
1 parent 6a33aa6 commit ffcfe7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/guide/di.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ dependency lookup responsibility to the injector by declaring the dependencies a
102102

103103
Notice that by having the `ng-controller` instantiate the class, it can satisfy all of the
104104
dependencies of `MyController` without the controller ever knowing about the injector. This is
105-
the best outcome. The application code simply ask for the dependencies it needs, without having to
105+
the best outcome. The application code simply asks for the dependencies it needs, without having to
106106
deal with the injector. This setup does not break the Law of Demeter.
107107

108108
# Dependency Annotation
109109

110-
How does the injector know what service needs to be injected?
110+
How does the injector know what service needs to be injected?
111111

112112
The application developer needs to provide annotation information that the injector uses in order
113113
to resolve the dependencies. Throughout Angular certain API functions are invoked using the
@@ -137,7 +137,7 @@ http://www.pretotyping.org/ pretotyping}, and demo applications.
137137
# `$inject` Annotation
138138

139139
To allow the minifers to rename the function parameters and still be able to inject right services
140-
the function needs to be annotate with the `$inject` property. The `$inject` property is an array
140+
the function needs to be annotated with the `$inject` property. The `$inject` property is an array
141141
of service names to inject.
142142

143143
<pre>

0 commit comments

Comments
 (0)