title: Does AngularJS store a value in the $error.maxlength object?
body: <p>I've got a UI page setup through Angular, and I'm trying to take advantage of the built in <code>ng-maxlength</code> validator on an input element. Long story short, I know about <code>$scope.form.$error</code> and how that object has a <code>maxlength</code> property in the case that the validation fails. But I want to display an error message specific to the character length that was violated, and I don't see anywhere that the length that I specified was stored on this object. Does anyone know if it's possible to access this, so I don't have to write out a separate error message for each input that has the max length violated?</p>