以下に標準で用意されているものを元にサンプルを書きます。
lang
1<form method="post" name="form1">
2<input type="text" name="hoge" ng-model="hoge" ng-minlength="8" ng-maxlength="16" required>
3<span class="error" ng-show="form1.hoge.$error.required">必須</span>
4<span class="error" ng-show="form1.hoge.$error.minlength">8文字以上です</span>
5<span class="error" ng-show="form1.hoge.$error.maxlength">16文字までです</span>
6</form>
ng-minlength等エラーに関するディレクティブは、以下を参考にしてください。
正規表現等もできます(http://www.ng-newsletter.com/posts/validations.html)
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。