Moving comment options to the javascript. Implementing the comboboxes with AngularJS