Prototyping API services in Angular