How to set html id tag dynamically through ionic?

Hi all,
I know I can set html src tag like <img ng-src="{{phone.imageUrl}}">. But how can I set an id tag like <span id="sourceId::{{post.id}}" class="count"></span> ?

I found the solution,link

<div id="{{ 'object-' + $index }}"></div>