The equation of a hyperbola is \[\frac{x^2}{a^2} - \frac{y^2}{b^2} = 1,\] where $a > b > 0.$ The angle between the asymptotes is $45^\circ$ Find $\frac{a}{b}.$