I am using Spring and AngularJS to build a website. I have my services at localhost:8080/service/*
I would like all URL's that don't start with /service/ to be redirected to index.html so that I can do all the routing in Angular.
So if the person types any url like below Spring sends them to index.html
localhost:8080/products
localhost:8080/products/343848
localhost:8080/contact
localhost:8080/jdfndf
Can someone please share with me how to do this? I found this post that is someone else basically asking the same question but they never get a clear answer. Configure Spring MVC with AngularJS
I am new to Spring and AngularJS but I can't find any resources explaining this.