angular factory to communicate with ethercalc backend service