mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-28 15:28:15 +00:00
docs($provide): fix link to factory section
This commit is contained in:
parent
6818542c69
commit
cf54510b2c
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ function annotate(fn) {
|
||||||
* providers and services.
|
* providers and services.
|
||||||
* * {@link AUTO.$provide#methods_value value(obj)} - registers a value/object that can only be accessed by
|
* * {@link AUTO.$provide#methods_value value(obj)} - registers a value/object that can only be accessed by
|
||||||
* services, not providers.
|
* services, not providers.
|
||||||
* * {@link AUTO.$provide#factory factory(fn)} - registers a service **factory function**, `fn`,
|
* * {@link AUTO.$provide#methods_factory factory(fn)} - registers a service **factory function**, `fn`,
|
||||||
* that will be wrapped in a **service provider** object, whose `$get` property will contain the
|
* that will be wrapped in a **service provider** object, whose `$get` property will contain the
|
||||||
* given factory function.
|
* given factory function.
|
||||||
* * {@link AUTO.$provide#methods_service service(class)} - registers a **constructor function**, `class` that
|
* * {@link AUTO.$provide#methods_service service(class)} - registers a **constructor function**, `class` that
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue