I'm working with angular and need to add a message on the screen when pressing the check code button. An error message or success.
Angle Controller
angular.module().controller(){
vm.validarProtocolo = function(){
//exibir mensagem na tela
};
}
Html Code
<input type="text" name="protocolo" ng-model="brSafe.protocolo">
<button ng-click="validarProtocolo()">Validar Protocolo</button>