Delimitation of Fraunhofer and Fresnel diffraction by means of angular measurements