Code

<template is="juicy-html" content='
    All those nodes will get <code>.model</code> property with object given in model attribute.
    <template is="dom-bind">
      <p>which can be used by <span>{{model.polymer}}</span></p>
    </template>
    <div></div>
    <script>
      var script = (document._currentScript || document.currentScript);
      var div = script.previousElementSibling
      div.innerHTML = script.model.vanilla;
      console.info("attached model", document.currentScript.model);
  </script>' model='{
    "name": "World",
    "polymer": "Polymer's dom-bind",
    "vanilla": "as well as by native JS <code>&amp;lt;script&amp;gt;</code> or custom elements"
  }'>
</template>