Here, "pang" is used to describe a sharp, sudden feeling, in this case, jealousy.
Here are some other ways to use "pang":
* "A pang of guilt made her confess her mistake."
* "The smell of freshly baked bread brought a pang of nostalgia."
* "The movie's sad ending gave her a pang of sadness."
"Pang" often refers to a feeling of sudden, sharp emotion. It can be used to describe a variety of emotions, both positive and negative.