The best revision that corrects the faulty parallelism in the sentence is:
In class we learned about triangles and about the right way to measure their angles.
This revision maintains a consistent structure by using "about" for both parts of the sentence, creating parallelism.