mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-07 22:37:28 +08:00
committed by
Pete Bacon Darwin
parent
52a55ec618
commit
89c0b5d096
@@ -385,7 +385,7 @@ function annotate(fn) {
|
||||
*
|
||||
* @param {string} name The name of the service to decorate.
|
||||
* @param {function()} decorator This function will be invoked when the service needs to be
|
||||
* instanciated. The function is called using the {@link AUTO.$injector#invoke
|
||||
* instantiated. The function is called using the {@link AUTO.$injector#invoke
|
||||
* injector.invoke} method and is therefore fully injectable. Local injection arguments:
|
||||
*
|
||||
* * `$delegate` - The original service instance, which can be monkey patched, configured,
|
||||
|
||||
Reference in New Issue
Block a user