title: How to pass array of objects to polymer component
body: <p>I am new to Meteor and experimenting with Meteor + Polymer and have one question. It looks simple but it doesn't work:-(</p>
  
  <p>I want to pass array of objects to created  polymer component (see below)</p>
  
  <p>In Meteor template "<strong>userShowDashboard</strong>":</p>
  
  <p>This component works</p>
  
  <pre><code>&lt;belo-test 
      items='[{"title": "Title 1"}, {"title": "Title 2"}]'
      header='Test HEADER'&gt;
  &lt;/belo-test&gt;  
  </code></pre>
  
  <p>but, this one NOT (no items are shown)</p>
  
  <pre><code>&lt;belo-test 
      items={{getItems}}
      header='Test HEADER'&gt;
  &lt;/belo-test&gt;  
  </code></pre>
  
  <p>This is meteor helper function</p>
  
  <pre><code>Template.userShowDashboard.helpers
    getItems: -&gt;
      [{"title": "Title 1"}, {"title": "Title 2"}]
  </code></pre>
  
  <p>polymer component</p>
  
  <pre><code>&lt;polymer-element name="belo-test" attributes="items header"&gt;
    &lt;template&gt;
            &lt;core-submenu label="{{header}}" icon="apps" active&gt;
              &lt;template repeat="{{item in items}}"&gt;  
                  &lt;a href="#"&gt;
                    &lt;paper-item data-action="switch-project"&gt;
                      &lt;core-icon icon="chevron-right"&gt;&lt;/core-icon&gt;
                        {{item.title}}
                    &lt;/paper-item&gt;
                  &lt;/a&gt;                
                &lt;/template&gt;  
            &lt;/core-submenu&gt; 
    &lt;/template&gt;
    &lt;script&gt;
    Polymer('belo-test',{
      items: []
    });
    &lt;/script&gt;
  &lt;/polymer-element&gt;
  </code></pre>
  
  <p>Thank you for any suggestion.</p>