use simple class inheritence
add ngResource library
implement ngResource instead of custom resource
remove address namespace in update
warn people :zap: