angular
I have a pretty basic scenario (somewhat new to angular). I am trying to convert JSON:
[
{\'name\': \'Nick\'},
{\'name\': \'David\'},
{\'name\':
You could also accomplish that like this:
<p>
<span ng-repeat="(item,name) in menuItems">{{name}}{{$last ? '' : ', '}} </span>
</p>
I used this approach on a similar issue I had, I try to never mix javascript/jquery and angular. Got the solution from here: Using comma as list separator with AngularJS