How to deploy an angular app so that it works under any path?
问题 this is probably a newbie question, but I couldn't find any answers to it here or on angular documentation. Let's say I have a simple Angular application (the hero editor from the angular.io tutorial for instance) that I want to distribute without yet knowing under which path it will run on my webserver. It could be under: http://host.domain/foo/myapp/ http://host.domain/foo/bar/myapp/ etc... you get the idea Put differently, I'd need the generated sources (the index.html and its angular