title: AngularJS: can't change input type
body: <p>Whenver I have an Angular expression as a value to <code>input</code>'s <code>type</code>, it won't work:</p>
  
  <pre><code>&lt;input ng-model="model" type="{{'number'}}"&gt;
  </code></pre>
  
  <p>Numeric values get converted to strings and checkboxes won't work at all.</p>
  
  <p><a href="http://jsfiddle.net/punund/NRRj7/3/" rel="noreferrer">http://jsfiddle.net/punund/NRRj7/3/</a></p>