basic crud operations through ngResource and service