readme usage of ngResource