update angular-resource
add service