SyntaxFix
Write A Post
Hire A Developer
Questions
Thx guys, I finally found the solution, a really basic one.. In my controller I have
$scope.mySplit = function(string, nb) { var array = string.split(','); return array[nb]; }
and in my view
{{mySplit(string,0)}}