more $resource examples