We introduce a generalized angular spectrum representation for quantized light beams. By using our formalism, we are able to derive simple expressions for the electromagnetic vector potential operator in the case of (a) time-independent paraxial fields, (b) time-dependent paraxial fields, and (c) nonparaxial fields. For the first case the well-known paraxial results are fully recovered.