Switch the order of precompiling and registering partials in handlebars tag, so that partials can used compiled template