The angle of the gallbladder is located between the costal margin and the lateral margin of the rectus abdominis muscle.