Expand given root by expanding all parent nodes *
function (page) {
            scope.tree.expanded[page._id] = true;
            page = scope.tree.getByPath(page.path, page._id);
            if (page) {
                page.open = true;
                scope.tree.forEachParentByPath(page.path, page._id, function (parent) {
                    scope.tree.expanded[parent._id] = true;
                    if (!parent.open) parent.open = true;
                });
            }
        }