Your question doesn’t clarify anything. just assuming http.json is a method to call a service
var eventPromise = http.json('event'); //event will be a promise
eventPromise.then(function(data) {
//assuming dasta will contain all events
var postList = [];
angular.forEach(data,function(event) {
http.json('image/event.ID').then(function(img) {
postlist.push({title:ebent.title,imageURL:img.url});
});
});
});