title: emberjs bind data attributes
body: <p>I am wondering if there is a way to bind data attributes in a template when calling a view.  </p>
  
  <p>For example (this doesn't work):</p>
  
  <pre><code> {{ view App.SomeView data-dateBinding="currentDate" }}
  </code></pre>
  
  <p>I have ended up doing it this way: </p>
  
  <pre><code>&lt;a {{bindAttr data-date="currentDate"}}&gt;&lt;/a&gt;
  </code></pre>
  
  <p>There must be a way to do it when calling the view?</p>