aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIgor Minar2011-01-31 12:49:07 -0800
committerIgor Minar2011-02-01 09:33:59 -0800
commit2389c71238041bb6625915fbff195a6a1f4b82c8 (patch)
treee41eb35aca999887525050b5df1ff1777a8f044f /src
parentce7ab3d1ee0e496c4b9838950b56fc1555b5bcf0 (diff)
downloadangular.js-2389c71238041bb6625915fbff195a6a1f4b82c8.tar.bz2
fixing $exceptionHandler docs
Diffstat (limited to 'src')
-rw-r--r--src/services.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/services.js b/src/services.js
index 15813add..62aef8b4 100644
--- a/src/services.js
+++ b/src/services.js
@@ -377,14 +377,12 @@ angularServiceInject("$log", $logFactory = function($window){
* @requires $log
*
* @description
- * Any uncaught exception in <angular/> is delegated to this service.
- * The default implementation simply delegates to $log.error which logs it into
+ * Any uncaught exception in angular expressions is delegated to this service.
+ * The default implementation simply delegates to `$log.error` which logs it into
* the browser console.
*
- * When unit testing it is useful to have uncaught exceptions propagate
- * to the test so the test will fail rather than silently log the exception
- * to the browser console. For this purpose you can override this service with
- * a simple rethrow.
+ * In unit tests, if `angular-mocks.js` is loaded, this service is overriden by
+ * {@link angular.mock.service.$exceptionHandler mock $exceptionHandler}
*
* @example
*/