@joepras wrote:
anyone know why? what's wrong with my coding?
when debug in the browser chrome no problem, but when debugging emulator os Genymotion kitkat resource load failed json so ... why? any suggestions?this is my coding:
$scope.feedlist = []; $http.get('http://newsletter.ukrida.ac.id/wp-json/posts') .success(function(response){ $scope.feedlist = response; });
});
and
<div class="list"> <div class="item item-text-wrap"> <a class="item" href="{{ feed.link }}" target="_blank" ng-repeat="feed in feedlist"> <h2 class="feed-title">{{feed.title}}</h2> </a> </div> </div>
Please help!!!
Posts: 4
Participants: 2