page/client/page/pageServices.js
function (path, id) {
            var hierachy = scope.tree.pathToPageArray(path);
            var parent = hierachy[ hierachy.length - 1 ];
            
            if (parent && parent.children && parent.children[ id ]) {
                return parent.children[ id ];
            } else if (path === '' && id === scope.tree.current.rootPageId) {
                return scope.tree.all[ id ];
            } 
            return null;
        }
function (path, id) {
            var hierachy = scope.tree.pathToPageArray(path);
            var parent = hierachy[ hierachy.length - 1 ];
            
            if (parent && parent.children && parent.children[ id ]) {
                return parent.children[ id ];
            } else if (path === '' && id === scope.tree.current.rootPageId) {
                return scope.tree.all[ id ];
            } 
            return null;
        }
Get an page by passing path and id *