The angle q here is the angle between E and DS For a
closed surface, with the convention stated already, q is the angle between
E and the outward normal   to the area element Notice we could look at
the expression E DS cosq  in two ways:  E (DS cosq ) i e