add default type attribute for input element

Now &lt;input ng-model="myModel" /> does not work because there is not any type attribute. This patch makes this work.