Example how create a Service / Factory to consume a REST API