Best place to put http api crud functions


#1

Whats the best place to put api http crud functions, in services or providers or models. How would you architect in a DRY way. An example code would be appreciated. Thanks


#2

Make a Service/provider.

Similar to Angular 1, you would create a service class that would handle all of the http request and jsut feed it URL