This example shows how you can set a service's src property to a jsRender template string.
The src property of the service object for this map is set to:
"http://tile.openstreetmap.org/{{=zoom}}/{{=tile.column}}/{{=tile.row}}.png"