Here's a good example of the directions of static friction.
Imagine a particle undergoing uniform circular motion whilst on an incline (ie it spins around a cone). Resolving forces in the direction of the radius gives a component of the normal force and a component of the static frictional force (as the object does not change its radius, there must be a static frictional force acting parallel to the plane) acting as the centripetal forces. However, what direction is the frictional force in?
Consider the scenario where the centripetal force is too small. The particle would move outwards (to increase r), and as the static frictional force would oppose this motion, it would be directed inwards. This would correspond to a large angular velocity as the N force would be too small. However, imagine the opposite. If the centripetal force was too large, the particle would move inwards, meaning that the frictional force would be directed outwards! This would correspond to the particle having a small angular velocity. In other words, the static frictional force could act in either direction, allowing for both a maximum and minimum angular velocity.