File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,12 +102,12 @@ dependency lookup responsibility to the injector by declaring the dependencies a
102102
103103Notice that by having the `ng-controller` instantiate the class, it can satisfy all of the
104104dependencies 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
106106deal 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
112112The application developer needs to provide annotation information that the injector uses in order
113113to 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
139139To 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
141141of service names to inject.
142142
143143<pre>
You can’t perform that action at this time.
0 commit comments