If you don't want to reinvent the wheel, you can also use
Thor.Vectors, they provide already everything: angles, distances, normalization, ...
Computing the direction is then as simple as:
sf::Vector direction = thor::unitVector(b - a);
You usually don't want to work with angles unless you really need them, because the special cases (wraparound) are a bit annoying to handle.