title: Using template defined in light dom inside a Polymer element
body: <p>I'm trying to get a template moved from the DOM to inside the element.</p>
  
  <p>Here is my elements: </p>
  
  <pre><code>&lt;link rel="import" href="../polymer/polymer.html"&gt;
  &lt;link rel="import" href="../polymer-ui-icon/polymer-ui-icon.html"&gt;
  
  &lt;polymer-element name="bt-sortable-list" attributes="drag name list"&gt;
    &lt;template&gt;
      BOOM
      &lt;template binding ref="itemTemplate" repeat="{{list}}" id="repeatTemplate"&gt;
      &lt;/template&gt;
      &lt;template id="itemTemplate"&gt;
      &lt;/template&gt;
    &lt;/template&gt;
    &lt;script&gt;
      Polymer('bt-sortable-list', {
        ready: function() {
          var div = document.createElement('div');
          contentStr = this.trim(innerHTML);
          var parsed = markdown.toHTML(content);
          this.$.itemTemplate.innerHTML = parsed;
          this.list = [{name: 'Item 1', id: 'item1'}, {name: 'Item 2', id: 'item2'}, {name: 'Item 3', id: 'item3'}];
          this.$.repeatTemplate.model = this.list;
        }
      });
  
    &lt;/script&gt;
  &lt;/polymer-element&gt;
  </code></pre>
  
  <p>And here is my html file:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;script src="/platform/platform.js"&gt;&lt;/script&gt;
    &lt;link rel="import" href="/bt-sortable-list/bt-sortable-list.html"&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h3&gt;Sortable List&lt;/h3&gt;
    &lt;bt-sortable-list&gt;
    &lt;template 
        Name {{name}}
    &lt;/template&gt;
    &lt;/bt-sortable-list&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I can't seem to get the template in test.html to be used inside of the bt-sortable-list custom element.  The general idea is that the custom element will handle the list and other things, while letting the html that is using the element to define how a list element will be displayed.  I've tried programmatically adding the template as shown.  I've also tried not having the template under the bt-sortable-list element.  I've also tried using a content element to get the templates contents in test.html. </p>
  
  <p>Any suggestions would be greatly appreciated.</p>