Hello everyone i have a problem and i hope you guys will help me:
i have this http request
$http.get('http://localhost:1337/bonplan?idbonplan='+$scope.idbp).
success(function(data, status, headers, config) {
$scope.res = data;
console.log('statut : '+status);
console.log('reponse : '+data);
console.log($scope.res);
}).
error(function(data, status, headers, config) {
console.log('error'+status);
});
i can’t acces to $scope.res in the DOM
when i type
<p>{{res.title}}</p>
nothing appears.
any ideas?