SyntaxFix
Write A Post
Hire A Developer
Questions
Instead of using $http.get('abc/xyz/getSomething') try to use $http.jsonp('abc/xyz/getSomething')
return{ getList:function(){ return $http.jsonp('http://localhost:8080/getNames'); } }