Added utility function for angle_to object
Added utility function for angle_to object