v0.0.22
The following additional functionality has been added:
- Add access to raw response using
Resource#$response
. See Resource for details and petejohanson/angular-hy-res#8 for the discussion. - Add property for accessing media format specific information, e.g. Siren resource titles, using
Resource#$formatSpecific
property. See #4 - Add filtering/matching for the various
Resource
accessor functions like$link
,$links
,$followOne
, etc. For example, to check if you have a link in a HAL resource with a link relation ofnext
and aname
ofprofile
, you can callresource.$has('next', { name: 'profile' })
. See #8