2
I’m talking about this example:
<div ng-app="myApp" ng-controller="customersCtrl">
<table>
<tr ng-repeat="x in names">
<td>{{ x.Name }}</td>
<td>{{ x.Country }}</td>
</tr>
</table>
</div>
<script>
var app = angular.module('myApp', []);
app.controller('customersCtrl', function($scope, $http) {
$http.get("http://www.w3schools.com/angular/customers_mysql.php")
.success(function (response) {$scope.names = response.records;});
});
</script>
http://www.w3schools.com/angular/tryit.asp?filename=try_ng_customers_mysql
I need to make this API read: http://folhacar.com.br/api/listAnuncios?revenda_id=528&cnpj=13733235000134
I have changed the fields to the relative fields and everything else but nothing gives read. I am rude erring somewhere?