Comments (3)
I was just thinking about same since our API contains more calls than simple CRUD operations.
from ngactiveresource.
My original question is more about how in ngActiveResource would I add a $charge method similarly to what you can do with $resource below?
var CreditCard = $resource('/user/:userId/card/:cardId', {userId:123, cardId:'@id'}, { charge: {method:'POST', params:{charge:true}} });
from ngactiveresource.
+1
from ngactiveresource.
Related Issues (20)
- Root element in json response HOT 1
- lodash dependency
- One sided Association HOT 1
- Comparison to Restangular
- Working directly with cache HOT 2
- Firefox Error: mixinProp is not defined HOT 2
- string.hyphenate() in provider('ARAPI') HOT 4
- TypeError when setting .hasMany in my models HOT 1
- URL parameter for .hasMany relationships
- General usage issues HOT 11
- Using a Serializer & Adapter to interact with custom APIs HOT 1
- Validation rules gets add multiple times HOT 1
- Coffeescript Problems HOT 2
- Function.name property used - fails in IE HOT 1
- Can someone give me a tutorial on how to use .whereURL?
- Any plans to support saving multiple instances at once? HOT 2
- active-support.js is a heavy dependency
- Uncaught TypeError: Cannot read property 'downcase' of undefined HOT 1
- Is this library still under active development? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngactiveresource.