If a form has the structure below:
<form>
<input type="text" required ng-model='myValue' ng-maxlength='5'></input>
{{myValue}}
{{myValue.length}}
</form>
Is there a way to prevent the model from becoming empty when the text in the input exceeds the maxlength, without creating a custom form level validator?