Here's a binder which can reference any other template as a partial.

This binder allows a template to call any other template as a partial. 

**item.hogan**

    <li class="item">{{name}}</li>

**items.hogan**

    <ul class="items">
    {{#items}}
        {{>item}}
    {{/items}}
    </ul>

It's return value is slightly different (which you may want to change) in that it does not return the Hogan object, rather just a simple javascript function which can be called directly.

    define(["templates"], function(templates) {
        var html = template.items({
            items: [{
                name: "item 1"
            }, {
                name: "item 2"
            }]
        });
    });

... which will produce

    <ul class="items">
        <li class="item">item 1</li>
        <li class="item">item 2</li>
    </ul>