HTML panel plugin - using data in html code

This is not the problem. I’m able to see the value within the panel, if I want it. What I’m not able to do is to pass it for more action within html code. If you look at my first message I need to pass the value where I wrote ###HERE_MY_VALUE###, and it is needed in order to make a rotation of the element. I cannot find the correct syntax to bind the js section to the html one.
Bytheway, HTML plugin is not not text plugin