I almost know enough to answer this, but can at least point out some
direction.
First, have you tried a JSON string as opposed to sending an object.
conditions: '{"age": { "$gt": 30 } }'
Second, are you sure the server cannot decoded the escaped characters? I
have been able to handle both cases with PHP or Node.
Last, do the parameters need to be URL search params? There's also a way to
send JSON as a payload. I believe you can accomplish this by not passing
them as params, but as part of the resource object:
var Customer = $resource('http://localhost:3000/api/users');
Customer.conditions = { age: { "$gt": 30 };
Customer.options: { limit: 2 };
This is just off the top of my head so may not work, but it's what I would
try. Good luck.
On Wednesday, December 10, 2014 11:49:56 AM UTC-7, Ruben Costa wrote:
>
> Hi, i have the same questions.
> Did you get any answer elsewhere?
>
>
--
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.