
Wheldrake |

It isn't specified. Since the companion has a "special bond" with its master, I think it's a safe bet to assume it has the same alignment, for any ability where it matters.
More and more, I'm simply ignoring alignment in my games, with the exception of clerics, champions and extra-planar beings and the like.

Ubertron_X |

Because I do consider the Champion a little more divine aligned than the Ranger I'd say an animal companion is still more close to the original animal, which be default is (true) Neutral.
Having said so, there is absolutely no reason for an evil ranger to not have a mean, vicious dog (neutral evil) and for a good Ranger to not have a kind and benevolent dog (neutral good).
However as I don't think it's an automatic alignment match, I'd just say have player and GM determine the alignment once the animal companion is chosen and then roll with it.