Accessing the response variable on the AJAX panel

Using it at the angular template is clear (see image)
but how do I use it at the script area? what is the syntax?

1 Like

Can you help the community understand this a little better? AJAX panel?

I have the same problem, did you manage to solve it?