diff options
Diffstat (limited to 'src/ng/exceptionHandler.js')
| -rw-r--r-- | src/ng/exceptionHandler.js | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/ng/exceptionHandler.js b/src/ng/exceptionHandler.js index 342f38fc..8899bf39 100644 --- a/src/ng/exceptionHandler.js +++ b/src/ng/exceptionHandler.js @@ -9,12 +9,12 @@   * 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. - *  + *   * In unit tests, if `angular-mocks.js` is loaded, this service is overridden by   * {@link ngMock.$exceptionHandler mock $exceptionHandler} which aids in testing.   *   * ## Example: - *  + *   * ```js   *   angular.module('exceptionOverride', []).factory('$exceptionHandler', function () {   *     return function (exception, cause) { @@ -23,7 +23,7 @@   *     };   *   });   * ``` - *  + *   * This example will override the normal action of `$exceptionHandler`, to make angular   * exceptions fail hard when they happen, instead of just logging to the console.   * | 
