以下代码用于字符验证。现在我想要最大单词的相同类型的验证。
<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>
换句话说,我想要一个替代的&#34; ta-max-text&#34;为了最大的话。任何内置或自定义验证器?