The function that makes select and throws the data to result
is this:
$scope.queryAndUpdateOverview = function(){
f_Select("SELECT * from cadastroPessoa",[],
function(results){
$scope.dados = results;
console.log ($scope.dados)
});
}
After this I set the data to $scope.dados
and in html I use a ng-repeat
, however the data does not appear on the screen, but in the console.log they appear.