define(
    [
        './add_language_app',
        './directives/languageListDirective',
        './directives/languageModalsDirective',
        './config/config',
        './css/add_language.scss'
    ],
    function(app){

        module.exports = {
            init: function (dom_element) {
                if (typeof angular.element(dom_element).scope() === 'undefined') {
                    angular.bootstrap(dom_element, ["cla.core.system.addLanguage"]);
                }
            }
        };
    });