Service for auto-generating Angular $resource services for LoopBack