Skip to content

Commit 69d96e8

Browse files
ChrisRosebtford
authored andcommitted
docs($injector): fix typos
1 parent b426424 commit 69d96e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/auto/injector.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*
3232
* Sometimes you want to get access to the injector of a currently running Angular app
3333
* from outside Angular. Perhaps, you want to inject and compile some markup after the
34-
* application has been bootstrapped. You can do this using extra `injector()` added
34+
* application has been bootstrapped. You can do this using the extra `injector()` added
3535
* to JQuery/jqLite elements. See {@link angular.element}.
3636
*
3737
* *This is fairly rare but could be the case if a third party library is injecting the
@@ -163,7 +163,7 @@ function annotate(fn, strictDi, name) {
163163
* minification, and obfuscation tools since these tools change the argument names.
164164
*
165165
* ## `$inject` Annotation
166-
* By adding a `$inject` property onto a function the injection parameters can be specified.
166+
* By adding an `$inject` property onto a function the injection parameters can be specified.
167167
*
168168
* ## Inline
169169
* As an array of injection names, where the last item in the array is the function to call.
@@ -200,7 +200,7 @@ function annotate(fn, strictDi, name) {
200200
* @name $injector#has
201201
*
202202
* @description
203-
* Allows the user to query if the particular service exist.
203+
* Allows the user to query if the particular service exists.
204204
*
205205
* @param {string} Name of the service to query.
206206
* @returns {boolean} returns true if injector has given service.
@@ -210,8 +210,8 @@ function annotate(fn, strictDi, name) {
210210
* @ngdoc method
211211
* @name $injector#instantiate
212212
* @description
213-
* Create a new instance of JS type. The method takes a constructor function invokes the new
214-
* operator and supplies all of the arguments to the constructor function as specified by the
213+
* Create a new instance of JS type. The method takes a constructor function, invokes the new
214+
* operator, and supplies all of the arguments to the constructor function as specified by the
215215
* constructor annotation.
216216
*
217217
* @param {Function} Type Annotated constructor function.

0 commit comments

Comments
 (0)