Proveedor desconocido Angularjs
Check do you have Injectable decorator in your class
@Injectable()
Fair Ferret
Check do you have Injectable decorator in your class
@Injectable()
angular.module('myApp', [])
.service('myService', function () { /* ... */ })
.controller('MyController', ['myService', function (myService) {
// Do something with myService
}]);