update angular ctrl http