- <div class="lang-switcher">
- <button ng-click="toggleMenu()">
- <img ng-src="./app/directives/lang-switcher/images/{{currentLang.key}}.png" alt="{{currentLang.value}}" title="{{currentLang.value}}">
- </button>
- <ul class="switcher-menu" ng-class="{'shown': showMenu}">
- <li ng-repeat="lang in languages" ng-click="changeLanguage(lang.key)">
- <img ng-src="./app/directives/lang-switcher/images/{{lang.key}}.png" alt="{{lang.value}}" title="{{lang.value}}">
- </li>
- </ul>
- </div>
|