31
31
*
32
32
* Sometimes you want to get access to the injector of a currently running Angular app
33
33
* 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
35
35
* to JQuery/jqLite elements. See {@link angular.element}.
36
36
*
37
37
* *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) {
163
163
* minification, and obfuscation tools since these tools change the argument names.
164
164
*
165
165
* ## `$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.
167
167
*
168
168
* ## Inline
169
169
* 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) {
200
200
* @name $injector#has
201
201
*
202
202
* @description
203
- * Allows the user to query if the particular service exist .
203
+ * Allows the user to query if the particular service exists .
204
204
*
205
205
* @param {string } Name of the service to query.
206
206
* @returns {boolean } returns true if injector has given service.
@@ -210,8 +210,8 @@ function annotate(fn, strictDi, name) {
210
210
* @ngdoc method
211
211
* @name $injector#instantiate
212
212
* @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
215
215
* constructor annotation.
216
216
*
217
217
* @param {Function } Type Annotated constructor function.
0 commit comments