Cheap sensor for angular rotation (not rotation rate)

MPU6050 has a built-in accelerometer with which you can take the absolute orientation