<span ng-repeat="tag in tags">
{{tag + "," }}
</span>
I need to remove , after the last element. I know ng-if="$last" can solve the problem. But, as I don't have any parent element for {{tag}} I can't use ng-if so, just need some work around.