Hi @rahul234dabas,
To the best of my knowledge, you cannot pass a value from a sling model to any script.I would suggest,
To retrieve your value onto html (to a hidden div, if you don't want to display), by using the standard approach and then read the div content to your script. To make use of sl...