Use the guzzle client with ngResource to map the get and list of domain feature