fix(ngValue): made ngValue to write value attribute to element

Previously ngValue did not write value attribute to element. This made it impossible to use ngValue for input with type submit.