3
Error: [$injector:unpr] http://errors.angularjs.org/1.4.5/$injector/unpr?p0=%24scopeProvider%20%3C-%20%24scope%20%3C-%20LogUserService
at Error (native)
at http://localhost:8080/web/resources/js/angular/angular.min.js:6:416
at http://localhost:8080/web/resources/js/angular/angular.min.js:40:307
at Object.d [as get] (http://localhost:8080/web/resources/js/angular/angular.min.js:38:308)
at http://localhost:8080/web/resources/js/angular/angular.min.js:40:381
at d (http://localhost:8080/web/resources/js/angular/angular.min.js:38:308)
at e (http://localhost:8080/web/resources/js/angular/angular.min.js:39:64)
at Object.g.instantiate (http://localhost:8080/web/resources/js/angular/angular.min.js:39:213)
at Object.<anonymous> (http://localhost:8080/web/resources/js/angular/angular.min.js:39:501)
at Object.e [as invoke] (http://localhost:8080/web/resources/js/angular/angular.min.js:39:96)
Erick did dependency injection exactly as he says it should be done but even so he keeps giving this error, you know some way to perform a debug to check exactly the problems?
– Victor Siqueira
@Can Victor post your controller code and the part of your HTML where you import Java? Either way, you can install the Angularjs Batarang (stable) version extension on Chrome to help you. It only works on Chrome.
– Erick Gallani
Hello Erick, I discovered what the error was, I was putting in service the parameter $Cope, and looking at the documentation that a servioce can not depend on $Scope
– Victor Siqueira