By “right angles” do you mean correct angles, or right (90 deg)angles .? The correct angle for an outside corner is nominally 45 deg., which can be successfully cut on a tablesaw if it has a 45 deg. tilt. If you are considering an inside corner such as found in rectangular or square rooms, you would be better advised to do a coped cut. This results in a tighter joint and is not affected nearly as much by material contraction. This is done with a hand held coping saw. Check your favorite search engine for coping baseboards instructions.