Edit in JSFiddle

// Bind the data to part of the DOM
var el = document.getElementById('items');
rivets.bind(el, {
  items: items
});
<h1>Binding using interpolation</h1>
<p>You can also use the {curly brackets} in your template.</p>
<div id="items">
  <input type="text" rv-value="items.content">
  <p>{items.content}</p>
</div>

              

External resources loaded into this fiddle: