Heres a nice little tidbit of info:

To work out the angle that an object should bounce off at try this:

R = 2W - P

P = balls path
W = walls angle
R = reflection

All angles must be in range of 0-360