I use angularjs for read a particular json value :
$http({method: 'GET', url: urlVersion}).
success(function(data, status, headers, config) {
console.log("success data " + status);
$scope.ext = data.versions['chrome'];
}).
error(function(data, status, headers, config) {
console.log("error data " + status);
});
json file is :
{
"versions": {
"android": "none",
"chrome": "0.1"
}
}
i have nothing in return and console give me no error... what's wrong ?
"success data "fire?