I have a form with a dropdown element. The value of the options in the select are IDs from another table. When I click save/add, I save the data to the server, and I add the data to a dynamic table under the form.
In the table I want to display the corresponding name, as in the dropdown element, but I only have the ID which was saved. What is the best method or common practices to display the name?
Example:
Dropdown:
1: Jackson Middle School
2: St Thomas High School
3: Jackson High School
Display table using ng-repeat:
{{school}} *Displays 1,2,3 not 'Jackson Middle School'