Re:Angular-data: data store and caching for Angular.js
by tsm26 on Wednesday September 10, 2014 @03:52PM
(#8298681)
You can add custom behavior to model instances via the "methods" option when defining a resource. http://angular-data.pseudobry.com/documentation/guide/angula...
Just one question, does it have the feature to add offline custom methods to the model e.g. I want to add instance calculateAge() for each User ? I couldn't find it in the guides.
Angular-RestMod provides it > https://github.com/platanus/angular-restmod#custom-methods
(basically we use node on the server and many times we just want to reuse the same server side methods on the client)