Here is the tutorial.
Open the attached file. Click Mate.
Under mechanical mates click Limit angle.
Select both faces.
Enter angles values.
Click OK and the mate is generated.
We can see that the part doesn't get crosses the angle limits.