You will need to have a store. Your template can go through nested data. Like for an array:
The for attribute to the <tpl> tag will tell the parser that it should do a for loop in the routes array. I added another <div> for each item (which is an Object) in the routes array and will have the value of the step key.
itemTpl : Ext.create('Ext.XTemplate',
This is a simple example that will go through a structure like this:
routes : [
step : 'Hello'