Module Error$injectorFailed to instantiate module MyApp due to:
ReferenceError: MyController is not defined
at http://localhost:3000/js/angularConfig.js:21:15
at Object.d [as invoke] (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js:30:452)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js:29:302
at Array.forEach (native)
at q (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js:7:274)
at e (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js:29:115)
at $b (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js:32:232)
at Zb.c (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js:17:431)
at Zb (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js:18:140)
at Tc (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js:17:215This error occurs when a module fails to load due to some exception. The error message above should provide additional context.
In AngularJS 1.2.0 and later, ngRoute has been moved to its own module. If you are getting this error after upgrading to 1.2.x, be sure that you've installed ngRoute.
That's all very useful, and I like that it's available, but in this instance, I'd rather have just seen the old message, because it's all I needed.
Is it possible to enable both the old error messages, alongside the new? That way I get the simple message, and if I need more, I can click to get it.
Thanks.
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/qj79fhBLa0g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.