Quantum anomalous Hall effect in two-dimensional magnetic insulator heterojunctions