The generalized Wiener-Hopf equations for wave motion in angular regions: Electromagnetic application