Cheap sensor for angular rotation (not rotation rate)

Like I said, I need an absolute angular position of the disc, not just a relative angular change. Also, I need to account for cases when the disc is moved (when the device is not in use) or if the whole device is moved (in case of geomagnetic sensors). Would MPU6050 tell me the absolute angle and account for these issues?