Cheap sensor for angular rotation (not rotation rate)

Then you need an absolute position sensor. What resolution ( in degrees) do you want?