country.json
.[
{
"name": "WORLD",
"population": 6916183000
Go to http://myjson.com/
I pasted in my json data and hit save I will then get a this link:
https://api.myjson.com/bins/3ffb0
Now that I have that URL, I use it like this
$http.get('https://api.myjson.com/bins/3ffb0').success(function(data) {
$scope.countries = data;
});
Work like a charm. No complain. :D