I have a list of elements (tags) that I want to show comma separated but last one. But it´s not working. Commas are not displayed.
<span ng-repeat="tag in post.tags"><a href="">{{tag.name | translate}}</a><span ng-show="{{!$last}}">, </span></span>
I tried to do the similar example and looks like the problem is with a filter 'translate'
{{tag.name | translate}}
All right,
I finally solved it with: {{{true: '', false: ', '}[$last]}}