diff options
| author | Misko Hevery | 2010-04-15 14:17:33 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-04-15 14:17:33 -0700 |
| commit | 70e401ef100614295fc808e32f0142f07c315461 (patch) | |
| tree | 7d31580fb512dd535465e4d42afb0252b0cf0071 /src/Scope.js | |
| parent | cd03fe92a5dbd2aba516b64fc8067c5fba1e4a81 (diff) | |
| download | angular.js-70e401ef100614295fc808e32f0142f07c315461.tar.bz2 | |
added $route service
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Scope.js b/src/Scope.js index 7529d726..8d44f4ef 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -117,6 +117,8 @@ function createScope(parent, services, existing) { exceptionHandler(e); } else if (exceptionHandler) { errorHandlerFor(exceptionHandler, e); + } else if (isFunction(instance.$exceptionHandler)) { + instance.$exceptionHandler(e); } } }, |
