I'm trying to use
Angular2 for the front end of my Spring application, but I keep running into a million problems. First: I can only access .html files if they are inside "src/main/resources/templates", and from what I've seen online, there should be many directories where I can put a .html file.
Second, I can't access .js files from indes.html. I get an error on the console:
on every .js file that's included, on line 1:0. But when I click on the link on the console to view the file, it returns index,html, as if that's the content of the .js file. I also can't access the .js files no matter what url I try, I just get index,html again.
Can anyone help me out on this?