Angle Radient or Gradient following path?

Hello!
I’m struggling since a couple of hours to find a way to make a gradient following a path or a shape or make an angle Gradient. It drives me crazy!! Anyone found a trick to make it. Share your knowledge pleaaaase

thanks !