Skip to content

Commit ca273fd

Browse files
ChrisRosebtford
authored andcommitted
docs($injector): fix typos
1 parent 5ff453d commit ca273fd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/auto/injector.js

Lines changed: 5 additions & 5 deletions
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
@@ -144,7 +144,7 @@ function annotate(fn) {
144144
* minification, and obfuscation tools since these tools change the argument names.
145145
*
146146
* ## `$inject` Annotation
147-
* By adding a `$inject` property onto a function the injection parameters can be specified.
147+
* By adding an `$inject` property onto a function the injection parameters can be specified.
148148
*
149149
* ## Inline
150150
* As an array of injection names, where the last item in the array is the function to call.
@@ -181,7 +181,7 @@ function annotate(fn) {
181181
* @name $injector#has
182182
*
183183
* @description
184-
* Allows the user to query if the particular service exist.
184+
* Allows the user to query if the particular service exists.
185185
*
186186
* @param {string} Name of the service to query.
187187
* @returns {boolean} returns true if injector has given service.
@@ -191,8 +191,8 @@ function annotate(fn) {
191191
* @ngdoc method
192192
* @name $injector#instantiate
193193
* @description
194-
* Create a new instance of JS type. The method takes a constructor function invokes the new
195-
* operator and supplies all of the arguments to the constructor function as specified by the
194+
* Create a new instance of JS type. The method takes a constructor function, invokes the new
195+
* operator, and supplies all of the arguments to the constructor function as specified by the
196196
* constructor annotation.
197197
*
198198
* @param {Function} Type Annotated constructor function.

0 commit comments

Comments
 (0)