I've got some html that looks like this
columns = [<span ng-repeat-start= "col in colsList">"{{col}}"</span><span ng-repeat-end></span>]
Which is giving me nearly the correct output, something like this.
columns = ["a" "b" "c" "d"]
Is there anything within angular that will allow me to easily separate these items with commas? I tried doing this
columns = [<span ng-repeat-start= "col in colsList">"{{col}}, "</span><span ng-repeat-end></span>]
Which ended up giving me output such as this.
columns = ["a", "b", "c", "d",]
Which is so close to what I want, but I cannot have the extra comma after the "d".
So, is there anything in angular like this, that will allow me to represent a typical list inside the view, separated by a delimeter, in this case a comma?