Don't use the minified version for unit testing, you'll get better error messages.
On Sunday, December 29, 2013 1:27:52 PM UTC-8, Mark Volkmann wrote: > > When I get errors in Angular apps, it's not uncommon to see things like > below. This particular error occurs when running a Karma tests. I'm > wondering if it's on the roadmap to improve these messages. I'm still > trying to decipher this one. I know it's related to use of the ngRoute > module. > > Error: [$injector:modulerr] > http://errors.angularjs.org/1.2.6/$injector/ > > modulerr?p0=KarmaDemo&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20http%3A%2F%2F > errors.angularjs.org > %2F1.2.6%2F%24injector%2Fmodulerr%3Fp0%3DngRoute%26p1%3DErro > > r%253A%2520%255B%2524injector%253Anomod%255D%2520http%253A%252F%252Ferrors.angul > arjs.org > %252F1.2.6%252F%2524injector%252Fnomod%253Fp0%253DngRoute%250A%2520%2520 > > %2520%2520at%2520http%253A%252F%252Flocalhost%253A9876%252Fbase%252Flib%252Fangu > > lar.min.js%253F1388346740000%253A20%250A%2520%2520%2520%2520at%2520http%253A%252 > > F%252Flocalhost%253A9876%252Fbase%252Flib%252Fangular.min.js%253F1388346740000%2 > > 53A21%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9876%252Fb > > ase%252Flib%252Fangular.min.js%253F1388346740000%253A29%0A%20%20%20%20at%20http% > 3A%2F%2Flocalhost%3A9876%2Fbase%2Flib%2Fangular.min.js%3F1388346740000%3A29 > > -- > R. Mark Volkmann > Object Computing, Inc. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
