mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-18 12:08:17 +08:00
docs($injector): clean up docs for $injector#has
Fixup return type and param info. Closes #9452
This commit is contained in:
@@ -182,8 +182,8 @@ function annotate(fn) {
|
||||
* @description
|
||||
* Allows the user to query if the particular service exists.
|
||||
*
|
||||
* @param {string} Name of the service to query.
|
||||
* @returns {boolean} returns true if injector has given service.
|
||||
* @param {string} name Name of the service to query.
|
||||
* @returns {boolean} `true` if injector has given service.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user