add angular-resource
create service