title: input attribute binding in Ember.View
body: <p>I'd like to implement a file uploader like this <a href="http://www.html5rocks.com/en/tutorials/file/dndfiles/" rel="nofollow">http://www.html5rocks.com/en/tutorials/file/dndfiles/</a> :</p>
  
  <pre><code>&lt;input type="file" id="files" name="files[]" multiple /&gt;
  &lt;output id="list"&gt;&lt;/output&gt;
  
  &lt;script&gt;
    function handleFileSelect(evt) {
      var files = evt.target.files; // FileList object
  
      // files is a FileList of File objects. List some properties.
      var output = [];
      for (var i = 0, f; f = files[i]; i++) {
        output.push('&lt;li&gt;&lt;strong&gt;', escape(f.name), '&lt;/strong&gt; (', f.type || 'n/a', ') - ',
                    f.size, ' bytes, last modified: ',
                    f.lastModifiedDate ? f.lastModifiedDate.toLocaleDateString() : 'n/a',
                    '&lt;/li&gt;');
      }
      document.getElementById('list').innerHTML = '&lt;ul&gt;' + output.join('') + '&lt;/ul&gt;';
    }
  
    document.getElementById('files').addEventListener('change', handleFileSelect, false);
  &lt;/script&gt;
  </code></pre>
  
  <p>But I can't figure out how to retrieve the file list in my ember view. 
  I tried something like :</p>
  
  <p><code>App.Uploader = Em.View.extend({
    files : []
  })</code></p>
  
  <p>with a template :</p>
  
  <p><code>&lt;input type="file" {{bindAttr name="files"}} multiple&gt;</code></p>
  
  <p>But it doesn't work.</p>
  
  <p>Any Ideas ?</p>
  
  <p>Regards,</p>
  
  <p>Jaonary</p>