diff options
| author | Misko Hevery | 2013-05-06 14:52:58 -0700 |
|---|---|---|
| committer | Misko Hevery | 2013-05-06 21:52:53 -0700 |
| commit | c575a56fc5c6abcb8442398b53ddd7ea2433b785 (patch) | |
| tree | c3e16502dc3e99a669b21fa5d68008fc6c07cdb7 /src/auto/injector.js | |
| parent | af0eaa304748f330739a4b0aadb13201126c5407 (diff) | |
| download | angular.js-c575a56fc5c6abcb8442398b53ddd7ea2433b785.tar.bz2 | |
docs(injector): add docs for $injector.has
Diffstat (limited to 'src/auto/injector.js')
| -rw-r--r-- | src/auto/injector.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/auto/injector.js b/src/auto/injector.js index 6b2865ef..9c492dc5 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -153,6 +153,18 @@ function annotate(fn) { /** * @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 * @methodOf AUTO.$injector * @description |
