removed maxlength if maxlength='' for ng binding issue