Skip to content

Instantly share code, notes, and snippets.

@morganhein
Created August 16, 2013 21:06
Show Gist options
  • Save morganhein/6253517 to your computer and use it in GitHub Desktop.
Save morganhein/6253517 to your computer and use it in GitHub Desktop.
Error loading page angularJS
Uncaught Error: [$injector:modulerr] Failed to instantiate module shopsyncApp due to:
Error: [$injector:unpr] Unknown provider: $routeProvider
at http://192.168.1.22:9000/components/angular/angular.js:60:12
at http://192.168.1.22:9000/components/angular/angular.js:2964:19
at getService (http://192.168.1.22:9000/components/angular/angular.js:3086:39)
at Object.invoke (http://192.168.1.22:9000/components/angular/angular.js:3107:13)
at http://192.168.1.22:9000/components/angular/angular.js:3045:37
at Array.forEach (native)
at forEach (http://192.168.1.22:9000/components/angular/angular.js:196:11)
at loadModules (http://192.168.1.22:9000/components/angular/angular.js:3032:5)
at createInjector (http://192.168.1.22:9000/components/angular/angular.js:2974:11)
at doBootstrap (http://192.168.1.22:9000/components/angular/angular.js:1124:20)
@meleksomai
Copy link

I have the same issue. Did you find a way to solve the problem

@meleksomai
Copy link

it's weird. I'm pretty sure I have not changed the files. I have only updated bower packages.

@meleksomai
Copy link

[Solved]
Please refer to this page. You have to add 'ngRoute' to your module.
https://groups.google.com/forum/#!topic/angular/D0Qq3UPbwww

@wridgers
Copy link

wridgers commented Sep 1, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment