<div class="password-input right-addon">
  <script type="text/ng-template" id="popover">
      <p>{{ tooltip | translate }}</p>

      <ul>
        <li ng-repeat="rule in rules"
            translate="{{ rule.placeholder }}"
            translate-values="{{ rule.parameter }}"
            ng-if="!rule.valid">
        </li>
      </ul>
  </script>

  <i ng-if="loadingState === 'NOT_OK' && password.length > 0" class="glyphicon glyphicon-remove-circle"></i>
  <i ng-if="loadingState === 'OK'" class="glyphicon gl