-
Hi!
Is there a way to add new restangular methods to **all** collections? What I would like to do is the following:
I'm using an API that returns collections wrapped in a pagination object. I used set…
-
@mgonto I love the use case of `addRestangularMethod` within a `addElementTransformer` however would it be possible to provide a method to configure ALL collections/models of `Restangular` / `Restang…
rynz updated
11 years ago
-
Would it be possible to have access to Restangularize an object? The API to do this seems to be private.
We're have data that we'd like to shove into a Restangular collection (from .getList()) as a …
-
Hi,
I love working with the restangular. But I have come up with one problem that I am not able to solve.
Current Scenario:
var students = Restangular.all("Students").getList();
var subjects = stude…
-
Hi,
Is there a way to have something like this:
``` javascript
var form = Restangular.one('notes');
form.id = 1;
form.title = 'bla';
form.save();
```
Where save() is a custom function, defined for …
-
I know that technically collections are not supposed to have DELETE methods, but I am trying to batch delete a number of objects, and it seems like it'd be more efficient to do them all at once on the…
-
@mgonto curious how you would achieve this. Lets say you use resolves to get data using Restangular but say you also want this returned data to be accessable by different controllers.
For this you wo…
rynz updated
11 years ago
-
Considering the following example from derived from the spec file:
```
{
id: 1,
user: "Paul",
amount: 3.1416,
company: {
id: 1,
name: "Acme Company"
}
}
```
I was…
-
Hello,
I do a GET to retrieve a collection of items. Each item has a "self" property which contains the URL of the item resource. The end user should be able to delete an item from the UI. In that ca…
-
Hello,
I would like to use PUT to update user information. However, PUT can only be invoked on a restangularized promise, e.g. the one returned from GET. However, Angular has an issue where ng-model …