The difference between のある and がある
In my textbook is the phrase やる気のある人, meaning somebody with motivation.
I come across のある quite a lot, but in earlier days of learning Japanese I would have just used がある, as in やる気がある人.
Is がある completely incorrect here? Or is it correct but with a slightly different nuance? Or can のある and がある be used interchangeably?