1
I need to create a way to show the amount of remaining characters in a textearea registration of a description for a particular profile.
That part is the entry of the data:
<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' />
That other part is the 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 I have to do a whole function in Javascript, if there is any directive to do this functionality, or a standard form in controller and in the view.
Really very simple and functional, without having to create a whole function in the controller and bring it to the view, all the answers I thought were creating external functions for one simple thing.
– Philip Developer