angular-南笙的回答
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:
{{name}}{{$last ? '' : ', '}}
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