Better HN
topnewbestaskshowjobs
Log inSign up

tsm26

4 karma · joined Sep 10, 2014 (12y ago) · 2 submissions

Submissions

comment 12y ago · link · parent

You can add custom behavior to model instances via the "methods" option when defining a resource. http://angular-data.pseudobry.com/documentation/guide/angula...

comment 12y ago · link · parent

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).