I am working on a Spring Boot project which basically serving the UI from resources/public. When the request for the main page is arrived, I want to modify the index.html to add some data.
How can I do that?
EDIT: I forgot to mention that, the UI is written with AngularJS,HTML & SCSS if this changes anything. And I don't want to change variables, just want to add some data in <script> tag.