I need to create a way to show the quantity of characters remaining in a textearea tag of a description for a given profile.
This part is the data entry:
<textarea class="form-control" type="text"
name="description_validate" ng-model="group.description"
ng-minlength='{{valideDescricao.description_validate.minlength}}'
ng-maxlength="{{valideDescricao.description_validate.maxlength}}"
ng-required='valideDescricao.description_validate.required' />
This is another part of my data visualization:
<td align="justify" style="width: 500px" data-title="'Descrição'" filter="{description: 'text'}" >{{row.description}}</td>
I want to know if there is any way to do the operation with Angular without having to do a whole function in JavaScript, if there is any directive to do this functionality, or a default form in controller and in view .