I have an application in Angular2 and it was generated / dist where it contains the HTML code, CSS and Javascript I executed the code using http-server and tomcat. My problem is that when I rotate my routes it stays like this - > link but the problem is when I give refresh on the page it does not find it would have to add '# /' example: link