以下代码用于字符验证。现在我想要对最大字数进行相同类型的验证。
<text-angular ta-toolbar="[['undo','redo'], ['bold','italics','underline'], ['justifyLeft','justifyCenter','justifyRight','justifyFull'], ['wordcount']]" ng-model="description" name = "desc" ta-max-text="20" ></text-angular><br />
<span ng-show="form.desc.$error.taMaxText">Input is too long!</span>
换句话说,我想要最大单词的替代“ta-max-text”。是否有相同的内置或自定义验证器?