From the above template you can notice that double curl braces {{}} the parametere present inside is the exact json property name, and some of keywords are used like #each for foreach iteration of an array, #if for check the conditionNext, Compile the template in the script and bind the data with an anonymous function.

<script>

(function(){

Handlebars.registerHelper('getflavor',function(flavorcontext){

return"This dish has a "+flavorcontext.type+"
with "+flavorcontext.flavor+"
Flavor.";