I have already managed to make a mask, but I still can not validate whether this cnpj exists or not.
What I have today is
<input id="input-cnpj" name="cnpj" id="cnpj" ng-model="data.cnpj" type="tel" ui-mask="99.999.999/9999-99" ng-click="insereClass()" required>
Does anyone know how I could do this validation? I just found it in Jquery formats