@@ -160,7 +160,7 @@ function inferInjectionArgs(fn) {
160
160
* @description
161
161
*
162
162
* Use `$provide` to register new providers with the `$injector`. The providers are the factories for the instance.
163
- * The providers share the same name as the instance they create with the `Provide ` suffixed to them.
163
+ * The providers share the same name as the instance they create with the `Provider ` suffixed to them.
164
164
*
165
165
* A provider is an object with a `$get()` method. The injector calls the `$get` method to create a new instance of
166
166
* a service. The Provider can have additional methods which would allow for configuration of the provider.
@@ -211,7 +211,7 @@ function inferInjectionArgs(fn) {
211
211
*
212
212
* Register a provider for a service. The providers can be retrieved and can have additional configuration methods.
213
213
*
214
- * @param {string } name The name of the instance. NOTE: the provider will be available under `name + 'Provide '` key.
214
+ * @param {string } name The name of the instance. NOTE: the provider will be available under `name + 'Provider '` key.
215
215
* @param {(Object|function()) } provider If the provider is:
216
216
*
217
217
* - `Object`: then it should have a `$get` method. The `$get` method will be invoked using
@@ -230,7 +230,7 @@ function inferInjectionArgs(fn) {
230
230
*
231
231
* A short hand for configuring services if only `$get` method is required.
232
232
*
233
- * @param {string } name The name of the instance. NOTE: the provider will be available under `name + 'Provide '` key.
233
+ * @param {string } name The name of the instance. NOTE: the provider will be available under `name + 'Provider '` key.
234
234
* @param {function() } $getFn The $getFn for the instance creation. Internally this is a short hand for
235
235
* `$provide.service(name, {$get:$getFn})`.
236
236
* @returns {Object } registered provider instance
@@ -245,7 +245,7 @@ function inferInjectionArgs(fn) {
245
245
*
246
246
* A short hand for configuring services if the `$get` method is a constant.
247
247
*
248
- * @param {string } name The name of the instance. NOTE: the provider will be available under `name + 'Provide '` key.
248
+ * @param {string } name The name of the instance. NOTE: the provider will be available under `name + 'Provider '` key.
249
249
* @param {* } value The value.
250
250
* @returns {Object } registered provider instance
251
251
*/
0 commit comments