mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(injector): add docs for $injector.has
This commit is contained in:
parent
af0eaa3047
commit
c575a56fc5
1 changed files with 12 additions and 0 deletions
|
|
@ -151,6 +151,18 @@ function annotate(fn) {
|
|||
* @returns {*} the value returned by the invoked `fn` function.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ngdoc method
|
||||
* @name AUTO.$injector#has
|
||||
* @methodOf AUTO.$injector
|
||||
*
|
||||
* @description
|
||||
* Allows the user to query if the particular service exist.
|
||||
*
|
||||
* @param {string} Name of the service to query.
|
||||
* @returns {boolean} returns true if injector has given service.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ngdoc method
|
||||
* @name AUTO.$injector#instantiate
|
||||
|
|
|
|||
Loading…
Reference in a new issue