tsm26
Re:Angular-data: data store and caching for Angular.js
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...
Re:Angular-data: data store and caching for Angular.js
on Wednesday September 10, 2014 @03:51PM (#8298679)
you can eject an item or collections of items from the data store with DS.eject and DS.ejectAll. Or you could load angular-cache with angular-data to activate automatic expiry of items (after a timeout or on some interval).