I have a Spring Boot Application, which uses angular and thymeleaf. The project is structured so that the html files are stored alongside the angular javascript files. My problem is that the javascript files are not being served (getting 404). I know that spring boot servers js and css files from the static folder how could I configure it to find these files?
Folder Structure
resources
----static
----templates
--------view
index.html
app.js
---------account
accountPage.html
accountCtrl.js
index.html
How could I load the app.js file from the index.html with this file structure?