Service for auto-generating Angular $resource services for sira-rest