I am trying to loop through an array with CoffeeScript to pull out the full_name value as shown below. I've been all over Stack overflow and CoffeeScript's docs the last few days and can't figure it out. This is what I currently have. Can you tell me what I'm doing wrong?
Angular JS
<disabled-display template="{{ctrl.getTechnicianNames()}}">
CoffeeScript
ctrl.getTechnicianNames = (full_name) ->
array_of_persons = ctrl.technicians
ctrl.getTechnicianNames full_name for full_name in array_of_persons
ctrl.technicians
{email: "[email protected]", first_name: "John", full_name: "John Johnson",
last_name: "Johnson"},
{email: "[email protected]", first_name: "Frank", full_name: "Frank Franklin",
last_name: "Franklin"}