define([
    'cla_angular',
    '../config-editor/services/restCollection',
    './config/config',
    'ng.cla.core.lmsg',
    'ng.cla.core.growl'
], function (angular, restCollectionFactory, configurator) {
    var module;
    try {
        module = angular.module("cla.core.system.addLanguage");
    }
    catch (err) {
        module = angular.module("cla.core.system.addLanguage", ['cla.core.lmsg', 'cla.core.growl']);
        configurator(module);
        restCollectionFactory(module);
    }

    return module;
});
