angular.module("app").directive("languageMenu", function (L) {
    return {
        restrict: 'E',
        replace: true,
        templateUrl: "../app/directives/languageMenu/languageMenu.html",
        scope: true,
        link: function (scope, element, attrs) {

            scope.languages = L.languages;
            scope.selectedLanguage = L.selectedLanguage;
            scope.downloadLanguage = L.downloadLanguage;

        }
    };
});