This scenario embeds a ratings control and displays the rating supplied by the data. This scenario uses a javascript function to template the items, which enables event listeners to be attached to individual items.