Golang + Angular
<p>I started trying to work with Go and Angular, but I have a weird issue.. I guess I'm just missing a tiny detail, but I can't figure it out.</p>

<p>I'm using <a href="https://github.com/julienschmidt/httprouter" rel="nofollow noreferrer">https://github.com/julienschmidt/httprouter</a> as a router for Go ... now with Angular, I should be able to copy &amp; paste a URL into the browser and Angular should handle the according routes, right?</p>

<p>I have a "/login" route. Which works if the route gets accessed via the front-end .... but doesn't if I type in "mypage.com/login" into the browser, getting a 404. </p>

<p>Go routing basically is only doing </p>

<pre><code>router.NotFound = http.FileServer(http.Dir("./public"))
</code></pre>

<p>Which works for the "/" route, but not for anything else. Which seems to be correct. But how do I setup the routing correctly, so Angular handles all the routing?</p>