A text-length form validator and display directive for AngularJS