Rendering a Template to String using HTMLBars


In my ember app, if any element has a tooltip-text attribute, it will show up as a tooltip. This has been working great, but sometimes my tooltips are long and dynamic. I’d like to store these tooltips inside a template file.

The skinny of this question is, how can I grab a template object, and render that template to a string? Handlebars used to allow this, but does HTMLBars allow it?

If this doesn’t work, could I create a div tag in member and append the template into that?