Hello,

I am have the this doubt: In my app model layer, i am duplicating a lot of 
code for common requests to api. How can i reuse my code to eliminate this 
common requests, like find, findAll etc.

I implemented a little plunk to show the problem. 

http://plnkr.co/edit/icmAiQU7f0YiU7pbALf2?p=preview

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to