Comparison of spatial and angular clustering of X-ray AGN