I'm working with a web reporting framework that makes data available through Angular. I can reference a field using Angular in HTML. I would like to do some processing based on a field value and this requires JavaScript. I want to assign the Angular value to a variable in JavaScript but I have no idea how to do this (I'm not a web developer and I know very little about JavaScript and nothing about Angular).
So in my HTML code if I write
<p>{{FolderDetails[0].RowId}}</p>
the screen will display a value e.g. 12345
I tried the following in my HTML code but nothing displays
<script>
document.write('Hello World!');
//Get the value from Angular and assign to a JavaScript variable
var RowId = {{FolderDetails[0].RowId}};
document.write('RowId = ' + RowId);
</script>
Thanks in advance.