/** * @workInProgress * @ngdoc service * @name angular.service.$exceptionHandler * @requires $log * * @description * 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 overriden by * {@link angular.mock.service.$exceptionHandler mock $exceptionHandler} * * @example */ var $exceptionHandlerFactory; //reference to be used only in tests angularServiceInject('$exceptionHandler', $exceptionHandlerFactory = function($log){ return function(e) { $log.error(e); }; }, ['$log']); 0d11bd772c2ee65e67563f6a258401'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/rootElementSpec.js
blob: 8127209385988c166e59408cf89c98c644eb0d71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12