11

There is an alpha for Ember Js and also Persistence. Is there something similar for AngularJs (or it is in plan)? Maybe there is something that is framework independent?

What I need is actual library which enables these:

  1. To define my object model
  2. To define relations between models (hasMeny, foreignKey)
  3. To enable REST calls and caching of models on client

UPDATE

I found these (credits go to Miroslav)

Andrej Kaurin
  • 11,592
  • 13
  • 46
  • 54

1 Answers1

14

At the and I finished with BREEZEJS It offered best documentation and sample and it is very straightforward.

UPDATE: Recently new library created called ngActiveResource. It is simple and straightforward.

Andrej Kaurin
  • 11,592
  • 13
  • 46
  • 54
  • Found any libraries that allow you to create an adapter for custom data? Or maybe a way to do so using ngActiveResource? – Jon Koops May 26 '14 at 08:13
  • ngActiveResource uses a lot of conventions (unless you decide to use parts of it and customize) and is great for RESTFull and has other limitations (you cannot use envelope in your code etc). It really requires real REST. – Andrej Kaurin May 26 '14 at 10:24
  • 1
    Found another possible candidate called [Angular Data](http://angular-data.codetrain.io/) – Jon Koops May 26 '14 at 14:47