I'm trying to get the "validacion" property of an HTML element.
console.log (element[0]);
This returns me:
<input class="estilo_input_text ng-pristine ng-untouched ng-valid ng-empty" id="asunto" name="asunto" ng-model="asunto" placeholder="Asunto" type="text" validacion="required">
How can I access the "validacion" property?

 
     
     
     
     
     
     
    