set up trailing slash to work with angular $resource
a draft solution for saving course info