Leveton/appointments — pull request #3 by tihuan (2014-07-04 07:37:23+00:00)
Title: Bug fix/appointment.js#findHours

Bug:

"Uncaught Error: Syntax error, unrecognized expression: . ", which is caused by declaring var final_array = "\." when hours_array contains empty strings.

Fix:

Pass @new_dates from appointments_controller to findHours as a JSON object to avoid dealing with HTML string all together.