These are chat archives for angular/material

5th
May 2015
erochaamorim
@erochaamorim
May 05 2015 13:47

Hey guys, I'm building an front-end application with angular that will communicate with an API gateway, and an arbitrary number of APIs, and mostly make request-response service calls.

I want to write a class, or classes, that will build the http requests, and maybe even handle the success and error promise objects.

My doubt is if I should build it using angular service or factory.

If none is the proper way to do such a thing, how should I design it?

Ed Pelc
@epelc
May 05 2015 14:51
@erochaamorim go on irc #angular this is for the angular-material project they can probably help you better
I mean #angularjs on freenode's irc