Angular build is hosted in the server and is working properly, except, on refreshing any of the page, it goes to web server 404 page.
While searching for the solution, everybody suggests the HashLocationStrategy. Is there any other way to resolve this so that the hash symbol will not appear in the url.
Webserver: Apache.
Note: One solution is to use .htaccess to redirect the 404 error response to angular build's index.html, But in this case the account activation lik clicked from the registered mails also will go to the index.html
Thanks in advance.