3

just trying this:

var baseurl = "http://platform.fatsecret.com/rest/server.api";
var request = $http.get(baseurl);

request.success(function(html) {
    $log.log(html);
});

request.error(function(html) {
    $log.log(html);
});

but angular keeps prefixing it with http://localhost/ why does it use the relative url? how can I change it to use absolute url.

user2405469
  • 1,953
  • 2
  • 22
  • 43

0 Answers0