This should use ng-repeat to display the security groups as a comma-separated list rather than a JS array.