modify the angular resource to have the slash at the end of the url
create a download service to use the resource
create unit tests