by keda · 12y ago · 0 comments
Service should be like this: .service('RemoteResource', function($http){ this.retrieve = function(){ $http.get("url"); } })
See Stackoverflow: http://stackoverflow.com/questions/15666048/angular-js-servi...
No comments yet.