Experimenting with $resource