add default type attribute for input element

Now <input ng-model="myModel" /> does not work because it does not have any type attribute. This patch makes this work.