Utilize ng-minlength / ng-maxlength

Utilize ng-minlength / ng-maxlength for angular ui input error reference
https://docs.angularjs.org/api/ng/directive/input