A little more debugging helped me find the answer...

http://stackoverflow.com/questions/18481863/failed-to-instantiate-module-injectorunpr-unknown-provider-routeprovider


On Sunday, February 2, 2014 12:49:38 PM UTC-7, Andy Czerwonka wrote:
>
> Wondering if anyone can give me a hand. I'm confused as to why I'm getting 
> a 
> $injector:modulerr<http://docs.angularjs.org/error/$injector:modulerr?p0=tyrionApp&p1=Error:%20%5B$injector:modulerr%5D%20http:%2F%2Ferrors.angularjs.org%2F1.2.10%2F$injector%2Fmodulerr%3Fp0%3DngResource%26p1%3DError%253A%2520%255B%2524injector%253Anomod%255D%2520http%253A%252F%252Ferrors.angularjs.org%252F1.2.10%252F%2524injector%252Fnomod%253Fp0%253DngResource%250A%2520%2520%2520%2520at%2520Error%2520(native)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Flib%252Fangular%252Fangular.min.js%253A6%253A450%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Flib%252Fangular%252Fangular.min.js%253A20%253A260%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Flib%252Fangular%252Fangular.min.js%253A21%253A262%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Flib%252Fangular%252Fangular.min.js%253A29%253A175%250A%2520%2520%2520%2520at%2520Array.forEach%2520(native)%250A%2520%2520%2520%2520at%2520q%2520(http%253A%252F%252Flocalhost%253A9000%252Flib%252Fangular%252Fangular.min.js%253A7%253A280)%250A%2520%2520%2520%2520at%2520e%2520(http%253A%252F%252Flocalhost%253A9000%252Flib%252Fangular%252Fangular.min.js%253A29%253A115)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Flib%252Fangular%252Fangular.min.js%253A29%253A192%250A%2520%2520%2520%2520at%2520Array.forEach%2520(native)%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20http:%2F%2Flocalhost:9000%2Flib%2Fangular%2Fangular.min.js:6:450%0A%20%20%20%20at%20http:%2F%2Flocalhost:9000%2Flib%2Fangular%2Fangular.min.js:30:1%0A%20%20%20%20at%20Array.forEach%20(native)%0A%20%20%20%20at%20q%20(http:%2F%2Flocalhost:9000%2Flib%2Fangular%2Fangular.min.js:7:280)%0A%20%20%20%20at%20e%20(http:%2F%2Flocalhost:9000%2Flib%2Fangular%2Fangular.min.js:29:115)%0A%20%20%20%20at%20http:%2F%2Flocalhost:9000%2Flib%2Fangular%2Fangular.min.js:29:192%0A%20%20%20%20at%20Array.forEach%20(native)%0A%20%20%20%20at%20q%20(http:%2F%2Flocalhost:9000%2Flib%2Fangular%2Fangular.min.js:7:280)%0A%20%20%20%20at%20e%20(http:%2F%2Flocalhost:9000%2Flib%2Fangular%2Fangular.min.js:29:115>
> .
>
> Failed to instantiate module tyrionApp due to:
> Error: [$injector:modulerr] 
> http://errors.angularjs.org/1.2.10/$injector/modulerr?p0=... 
> <http://errors.angularjs.org/1.2.10/$injector/modulerr?p0=ngResource&p1=Error%3A%20%5B%24injector%3Anomod%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.2.10%2F%24injector%2Fnomod%3Fp0%3DngResource%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Flib%2Fangular%2Fangular.min.js%3A6%3A450%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Flib%2Fangular%2Fangular.min.js%3A20%3A260%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Flib%2Fangular%2Fangular.min.js%3A21%3A262%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Flib%2Fangular%2Fangular.min.js%3A29%3A175%0A%20%20%20%20at%20Array.forEach%20(native)%0A%20%20%20%20at%20q%20(http%3A%2F%2Flocalhost%3A9000%2Flib%2Fangular%2Fangular.min.js%3A7%3A280)%0A%20%20%20%20at%20e%20(http%3A%2F%2Flocalhost%3A9000%2Flib%2Fangular%2Fangular.min.js%3A29%3A115)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Flib%2Fangular%2Fangular.min.js%3A29%3A192%0A%20%20%20%20at%20Array.forEach%20(native>)
>     at Error (native)
>     at http://localhost:9000/lib/angular/angular.min.js:6:450
>     at http://localhost:9000/lib/angular/angular.min.js:30:1
>     at Array.forEach (native)
>     at q (http://localhost:9000/lib/angular/angular.min.js:7:280)
>     at e (http://localhost:9000/lib/angular/angular.min.js:29:115)
>     at http://localhost:9000/lib/angular/angular.min.js:29:192
>     at Array.forEach (native)
>     at q (http://localhost:9000/lib/angular/angular.min.js:7:280)
>     at e (http://localhost:9000/lib/angular/angular.min.js:29:115
>
>
>
>
> It happens when I try and setup my first route. I'm trying to follow Igor's 
> example 
> <https://github.com/IgorMinar/foodme/blob/master/app/js/app.js>verbatim, but 
> I've clearly messed something up.
>
> https://github.com/andyczerwonka/tyrion/blob/master/public/app/js/app.js
>
> https://github.com/andyczerwonka/tyrion/blob/master/public/app/index.html#L133
>
>
>
>

-- 
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.

Reply via email to