How Can I Get Better Error Messages in Angular?

I was wondering how on earth people debug their Angular Apps when all the error messages in the console look like this:

Failed to instantiate module movieApp due to:
[$injector:nomod] http://errors.angularjs.org/1.4.8/$injector/nomod?p0=movi...
G/<@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:6:416
de/</</<@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:24:186
b@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:23:251
de/</<@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:23:1
g/<@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:38:117
n@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:7:331
g@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:37:488
eb@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:41:249
yc/c@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:19:463
yc@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:20:274
Zd@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:19:83
@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:294:192
b@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:175:62
If@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:35:365
Hf/d@http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js:35:314

But it turns out the error messages are actually readable if you use the non-minified version of Angular.

Thanks Stack Overflow!

Leave a Reply

Your email address will not be published. Required fields are marked *