In this paper, we consider the joint estimation of the position of a spacecraft and debris in Earth orbit to achieve spacecraft localisation based on angular measurements and precise measurements of the debris relative to the spacecraft. The dynamic model of the spacecraft caters for several perturbing effects, such as Earth and Moon gravitational field asymmetry and the Earth's oblateness effect. The Moon's position is assumed to be accurately known for the purposes of simulation from published Jet Propulsion Laboratory (JPL) ephemerides. The measurement process is based on the elevation and azimuth of the Moon and the Sun with respect to the spacecraft reference system. Range measurements are not assumed to be available. Position and velocity of the spacecraft are estimated by using the Unscented Kalman Filter (UKF). The performance of the filters are evaluated on an example of an Earth-orbiting satellite at an altitude over 1200 km with measurements of the directions of the Moon and the Sun only. It is shown that the estimates of position and velocity components track the corresponding simulated position and velocity components.