<div id="{{ 'object-' + $index }}"></div> //This will be rendered like this <div id="object-1"></div>