lang-switcher.template.html 481 B

12345678910
  1. <div class="lang-switcher">
  2. <button ng-click="toggleMenu()">
  3. <img ng-src="./app/directives/lang-switcher/images/{{currentLang.key}}.png" alt="{{currentLang.value}}" title="{{currentLang.value}}">
  4. </button>
  5. <ul class="switcher-menu" ng-class="{'shown': showMenu}">
  6. <li ng-repeat="lang in languages" ng-click="changeLanguage(lang.key)">
  7. <img ng-src="./app/directives/lang-switcher/images/{{lang.key}}.png" alt="{{lang.value}}" title="{{lang.value}}">
  8. </li>
  9. </ul>
  10. </div>