(function () {
  'use strict';

  angular.module('ng-sal').directive('loginPanel', loginPanel);

  loginPanel.$inject = ['ngsalConfig'];

  function loginPanel (ngsalConfig) {
      return {
          restrict: 'A',
          template: '<div block-ui block-ui-pattern="/.*\/api\/' + ngsalConfig.apiVersion + '\/authentication/"><div class="content-field-total" ng-controller="loginController" ng-hide="isAuthenticated"><div class="content-field"><h3>Área Restrita</h3><div class="alarm alarm-alizarin">Usuário ou senha inválido!</div><div id="login-box"><form name="loginForm" autocomplete="off"><div class="content-login" show-errors><label>Login</label><input auto-focus type="text" name="username" ng-model="username"/><div class="alarm alarm-alizarin" ng-show="loginForm.username.$error.required">Obrigatório</div></div><div class="content-pass" show-errors><label">Senha</label><input type="password" name="password" ng-model="password" /><div class="alarm alarm-alizarin" ng-show="loginForm.password.$error.required">Obrigatório</div></div><div class="content-buttons"><button class="bt bt-lime" type="submit" ng-click="submit()" ><i class="mdi mdi-check"></i>Autenticar</button><div class="alarm alarnm-alizarin" ng-show="authenticationError">Usuário ou senha inválida!</div></div></form></div></div></div>'
      }
  }

})();

@@ -494,16 +494,46 @@
 lizarin%22
+ ng-show=%22authenticationError%22
 %3EUsu%C3%A1rio
@@ -1213,105 +1213,8 @@
 on%3E%3C
-div class=%22alarm alarnm-alizarin%22 ng-show=%22authenticationError%22%3EUsu%C3%A1rio ou senha inv%C3%A1lida!%3C/div%3E%3C
 /div

Update login-panel.directive.js