lib/factories/internal.object.factory.js
function loadAppConfigs() {
        var appConfigs = {};
        var appDir = path.join(this.injector.rootDir, '/app');

        if (!fs.existsSync(appDir)) {
            return appConfigs;
        }

        var me = this;
        var appNames = fs.readdirSync(appDir);

        _.each(appNames, function (appName) {
            appConfigs[appName] = me.injector.loadModule('app/' + appName + '/' + appName + '.app');
        });

        return appConfigs;
    }
function loadAppConfigs() {
        var appConfigs = {};
        var appDir = path.join(this.injector.rootDir, '/app');

        if (!fs.existsSync(appDir)) {
            return appConfigs;
        }

        var me = this;
        var appNames = fs.readdirSync(appDir);

        _.each(appNames, function (appName) {
            appConfigs[appName] = me.injector.loadModule('app/' + appName + '/' + appName + '.app');
        });

        return appConfigs;
    }
function loadAppConfigs ( ) { var appConfigs = { } ; var appDir = path . join ( this . injector . rootDir , '/app' ) ; if ( ! fs . existsSync ( appDir ) ) { return appConfigs ; } var me = this ; var appNames = fs . readdirSync ( appDir ) ; _ . each ( appNames , function ( appName ) { appConfigs [ appName ] = me . injector . loadModule ( 'app/' + appName + '/' + appName + '.app' ) ; } ) ; return appConfigs ; }
Load all app configs into an object that can be injected
@returns {{}}
Load all app configs into an object that can be injected