lib/middleware/jng.directives.js
function getSubviews(subviewFlapjacks) {
    var renderedSubviews = {};
    var jangularDeps = this.getJangularDeps();
    var me = this;

    _.each(subviewFlapjacks, function (subview, subviewName) {
        renderedSubviews[subviewName] = me.pancakes.cook(subview, { dependencies: jangularDeps });
    });

    return renderedSubviews;
}
function getSubviews(subviewFlapjacks) {
    var renderedSubviews = {};
    var jangularDeps = this.getJangularDeps();
    var me = this;

    _.each(subviewFlapjacks, function (subview, subviewName) {
        renderedSubviews[subviewName] = me.pancakes.cook(subview, { dependencies: jangularDeps });
    });

    return renderedSubviews;
}
function getSubviews ( subviewFlapjacks ) { var renderedSubviews = { } ; var jangularDeps = this . getJangularDeps ( ) ; var me = this ; _ . each ( subviewFlapjacks , function ( subview , subviewName ) { renderedSubviews [ subviewName ] = me . pancakes . cook ( subview , { dependencies : jangularDeps } ) ; } ) ; return renderedSubviews ; }
Get all subviews
@param subviewFlapjacks
Get all subviews