According to what I learned in my trig class, the above answers are incorrect. For example, if you have a vector intersecting point (-1,-1) at an angle of 225 degrees (standard position), the tangent will be positive 1, which yields an arc tangent of 45 degrees. This will not be noticed by the above solutions, and the angle of the vector will be wrong. That is why arc tangent's formula is different depending on the situation. You have to have an idea of what the angle is going to be first.
Recall that we can apply trig functions to any angle, including large and negative angles. But when we consider the inverse function we run into a problem, because there are an infinite number of angles that have the same tangent. For example 45° and 360+45° would have the same tangent. For more on this see Inverse trigonometric functions.
To solve this problem, the range of inverse trig functions are limited in such a way that the inverse functions are one-to-one, that is, there is only one result for each input value.
From http://www.mathopenref.com/arctan.html