title: How to pass values from iron-ajax to an element at the same level?
body: <p>I'm trying to create a new element and I would like to bind data from outside the element, with iron-ajax. I've done something like</p>
  
  <p><code>&lt;iron-ajax ... last-response="{{myval}}"&gt;&lt;/iron-ajax&gt;
  &lt;my-elem values="{{myval}}"&gt;&lt;/my-elem&gt;</code></p>
  
  <p>my problem is (and it's been several hours(days?) I'm trying to find the problem/solution) my element is getting <code>{{myval}}</code> (string, even if I set the property type to Object)
  instead of the content of the json I get from iron-ajax, I'm pretty lost right now..
  <a href="http://pastebin.com/YqqtE9qt" rel="nofollow">the demo code is here</a>, <a href="http://pastebin.com/XNbCLiMJ" rel="nofollow">the code of my element is here</a> but I suspect my problem is really in the demo and not in the element.</p>
  
  <p>I've seen this way of doing in <a href="https://youtu.be/k1eR_3KqJms?list=PLOU2XLYxmsII5c3Mgw6fNYCzaWrsM3sMN&amp;t=358" rel="nofollow">polycast 26</a>, but the difference is Rob is doing that inside an element, I do not since my element should get the data (the element is not in charge to download it).</p>
  
  <p>Does someone has an advice about that ?</p>
  
  <p>PS: I tried to have a different name than values, but it does not change anything, I also tried to change the function name from attached to something else,if this cause a problem, it's not about that.</p>