editSupplement function started, further tweaking needed for it to work.
Cannot read property toString of undefined
Supplement is correctly retrieved from couchbase, display missing yet
Supplement is returned from the DB
Merged with master, cancellationPolicies added
commit previous to changing function and html names
Split supplement.html into addSupplement.html and editSupplement.html, added functionality for editSupplement, work to be done: Split the controller in two
finished splitting supplements into addSupplement and editSupplement.
Created a new controller for supplement.html
Removed from supplementsController the code now present in supplementController
Updated controller in app.js for addSupplement and editSupplement from supplementsController to supplementController
Added to index.html the script for the new supplementController
Renamed file and Service from supplementsServices > supplementService
Fix @ index.html: supplementControllers > supplementController was impeding the add functionality to work properly
Renaming supplementsControllers > supplementsController
Fixes to addSupplement, work to be done: Finish editSupplement functionality
Fix to editSupplement, working now