Example: added $resource example