remove ngResource dependency
add hook to transform angular response