lib/middleware/jng.pages.js
function renderLayout(appName, layoutName, isAmp, dependencies) {
    var layout = this.pancakes.cook('app/' + appName + '/layouts/' + layoutName + '.layout');
    var layoutView = this.pancakes.cook(layout.view, { dependencies: dependencies });
    return jangular.render(layoutView, dependencies.model, { strip: false, isAmp: isAmp });
}
function renderLayout(appName, layoutName, isAmp, dependencies) {
    var layout = this.pancakes.cook('app/' + appName + '/layouts/' + layoutName + '.layout');
    var layoutView = this.pancakes.cook(layout.view, { dependencies: dependencies });
    return jangular.render(layoutView, dependencies.model, { strip: false, isAmp: isAmp });
}
function renderLayout ( appName , layoutName , isAmp , dependencies ) { var layout = this . pancakes . cook ( 'app/' + appName + '/layouts/' + layoutName + '.layout' ) ; var layoutView = this . pancakes . cook ( layout . view , { dependencies : dependencies } ) ; return jangular . render ( layoutView , dependencies . model , { strip : false , isAmp : isAmp } ) ; }
Get a particular layout
@param appName
@param layoutName
@param isAmp
@param dependencies
Get a particular layout