goodeggs / angular-cached-resource

An AngularJS module to interact with RESTful resources, even when browser is offline
MIT License
216 stars 29 forks source link

Allow boundParams to be also integers, booleans. #2

Closed jtomaszewski closed 10 years ago

jtomaszewski commented 10 years ago

I just spent 1 hour thinking why my collection's array isn't being cached.

That was because:

  1. first I forgot (didn't know) to set resource's params like {id: '@id'}
  2. Then it appeared that only string values are being cached, but my id: values were integers, so they didn't cache at all.
hazeledmands commented 10 years ago

Thanks for the awesome PR! You're right; the documentation for this project needs a lot of love.

jtomaszewski commented 10 years ago

Thanks for merging this! The project is great and the only thing it needs right now is a lot of stars and watchers on GitHub ;)