aboutsummaryrefslogtreecommitdiffstats
path: root/src/services.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/services.js')
-rw-r--r--src/services.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/services.js b/src/services.js
index 89cca6fc..106f8954 100644
--- a/src/services.js
+++ b/src/services.js
@@ -75,6 +75,12 @@ angularService("$log", function($window){
};
}, {inject:['$window']});
+angularService('$exceptionHandler', function($log){
+ return function(e) {
+ $log.error(e);
+ };
+}, {inject:['$log']});
+
angularService("$hover", function(browser, document) {
var tooltip, self = this, error, width = 300, arrowWidth = 10, body = jqLite(document[0].body);;
browser.hover(function(element, show){