mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-13 08:59:54 +08:00
docs($injector): remove extranneous 'the' from injector docs
This commit is contained in:
committed by
Pawel Kozlowski
parent
69ef17cce9
commit
a248d5a32d
@@ -254,7 +254,7 @@ function annotate(fn) {
|
||||
* @description
|
||||
*
|
||||
* Use `$provide` to register new providers with the `$injector`. The providers are the factories for the instance.
|
||||
* The providers share the same name as the instance they create with the `Provider` suffixed to them.
|
||||
* The providers share the same name as the instance they create with `Provider` suffixed to them.
|
||||
*
|
||||
* A provider is an object with a `$get()` method. The injector calls the `$get` method to create a new instance of
|
||||
* a service. The Provider can have additional methods which would allow for configuration of the provider.
|
||||
|
||||
Reference in New Issue
Block a user