Magnetic charge quantization and angular momentum