restangular
restangular copied to clipboard
AngularJS service to handle Rest API Restful Resources properly and easily
Hi, I am new to restangular. My goal is just to try an example [on symfony + angularjs + restangular](https://github.com/bayne/symfony-angular-todomvc). I managed to make the example working. But, this required...
If I use nested resources I sometimes have to deal with generic route names. Say I have a `users` and `companies` route and both have a nested resource `address`, which...
This test identifies an issue I am currently having with `addRestangularMethod`. Given the following code. ``` js var Accounts = Restangular.withConfig(function(RestangularConfigurer) { RestangularConfigurer.addElementTransformer('users', true, function(worker) { worker.addRestangularMethod('doSomething', 'get', 'do-something'); return...
Can you document how to [add custom methods](https://github.com/mgonto/restangular#adding-custom-methods-to-models) to a nested resource? My code looks like this: ``` javascript app.factory('Storefront', ['Restangular', function(Restangular) { return Restangular.service('storefront'); }]); app.controller('StorefrontProductList', [ '$scope', '$filter',...
Hi, I would like to use `save()` on restangularized element. 1 - I saw this issue https://github.com/mgonto/restangular/issues/697. When will it be merged ? 2 - I think it will be...
I have multiple modules and each one might handle a different status code like 401 or 409. Would it be possible to support multiple error interceptors? https://github.com/mgonto/restangular/issues/488 Maybe it runs...
``` headers: The headers to send params: The request parameters to send element: The element to send httpConfig: The httpConfig to call with ``` Why `url` is missing? It would...
Hi, this is my first time using Github so please if I posted this in the wrong place just tell me to repost it somewhere else :) Basically I am...
@mgonto how do I update the default request params after a login, without reloading the page? I'm authorizing via username and password, but on receipt of the session access token,...
Hi everyone, i'd like to know if the dev team is aware of something that i believe is a bug in Restangular (Probably in Angular, but it makes Restangular unusable...