Added support for choosing the option labels.

Users are now prompted as to what property of the related entity in the relationship should be displayed in the HTML select dropdowns.

Also, extracted out the parsing of the HTTP 201 response to an angular service, and refactored the callbacks.