How can I render a template from within a template in JSRender? In the previous jquery template, I could use
{{tmpl(Languages) "#languageTemplate"}}
In JSRender, I could find template composition examples in conditional statements and loops. I want to call the template independently.
In JsRender
is more or less exactly equivalent to the following in jQuery Templates
In each case if Languages is an array, the languageTemplate will render once for each item, but if Languages is not an array, the template will render once.