nearbylocation directive working