I have put together a custom element using Polymer - `<x-flickr>` (<http://tamas.io/x-flickr-custom-polymer-element/> || <https://github.com/tamaspiros/x-flickr>) - it essentially makes a REST call to the Flickr API and returns photos based on a search:

```
<polymer-jsonp id="ajax" auto url="http://api.flickr.com/services/rest/?method=flickr.photos.search&api_key={{apikey}}&tags={{tag}}&per_page={{amount}}&page=1&format=json&jsoncallback="></polymer-jsonp>

```

This call returns some information about a particular photo but not everything. I'd like to reuse the unique ID returned via this call and make a second REST call to get further detail about the image. At the moment I display the photos via:

```
<template  id="photos" repeat="{{photo in photos}}">
  <div class="thumbnail">
    <img src="http://farm{{photo.farm}}.staticflickr.com/{{photo.server}}/{{photo.id}}_{{photo.secret}}.jpg" class="img-thumbnail">
   </div>
 </template>

```

but I'd like to extend that so that I get the description of the photo as well (and this is the information that is not being returned by the first REST call displayed above) - so my template would look something like this:

```
    <template  id="photos" repeat="{{photo in photos}}">
      <div class="thumbnail">
        <img src="http://farm{{photo.farm}}.staticflickr.com/{{photo.server}}/{{photo.id}}_{{photo.secret}}.jpg" class="img-thumbnail">
<p>{{photo.description}}</p> <!-- this should come from the 2nd API call -->
       </div>
     </template>

```

What's the best way of achieving this?