Using ng-if inside ng-bind Angular Js
<pre><code>&lt;span ng-repeat="tag in tags"&gt;
   {{tag + "," }}
&lt;/span&gt;
</code></pre>

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