Can anyone explain why AngularJS is not updating the div, even though I can see the data in the console?
What am I overlooking here?
Here is a fiddle I created:
function jsonp_example($scope, $http) {
$scope.doRequest = function() {
var url = "http://public-api.wordpress.com/rest/v1/sites/wtmpeachtest.wordpress.com/posts?callback=JSON_CALLBACK";
$http.jsonp(url)
.success(function(data){
console.log(data.found);
});
};
}