Whenever my application throws an error, in the console it shows it coming from angular.js and not the controller file where the error actually originated.
This makes for some very difficult debugging.
Is there a way the debugging information can be improved to show the source of the error?
Yep, this is pretty common problem. You could use solutions like this to make stack traces more readable. You could also try to use zone.js with long stack traces.
Hi,
Whenever my application throws an error, in the console it shows it coming from
angular.js
and not the controller file where the error actually originated.This makes for some very difficult debugging.
Is there a way the debugging information can be improved to show the source of the error?