Measurements of source divergence angle of pulsed nitrogen ion beams