 <p>I'm struggling with this on IIS right now and in my struggles, stumbled across an excellent guide for Apache: <a href="https://ngmilk.rocks/2015/03/09/angularjs-html5-mode-or-pretty-urls-on-apache-using-htaccess/" rel="nofollow">https://ngmilk.rocks/2015/03/09/angularjs-html5-mode-or-pretty-urls-on-apache-using-htaccess/</a></p> <p>I hope it helps. </p>