Template 1

Setting simple data into a template:

{{test}}

Template 2

Setting complex data into a template:

Name: {{product.name}}

{{product.description}}

{{product.info.price}} {{product.info.currency}}

Rating: {{product.info.rating}}/5

Template 3

Render HTML with a Template

Name: {{product.name}}

{{product.description}}

{{product.info.price}} {{product.info.currency}}

Rating: {{product.info.rating}}/5

This prints the value of product.image as string
{{product.image}}

This renders the value of product.image as HTML
{{{product.image}}}

Template 4

Access the values from the search result

Search Result:

resultCount: {{resultCount}}

searchTime: {{searchTime}}