If no localStorage, just fall back to plain $resource
Use a factory instead of a service
lots of refactors