I need to either set in the HTML or APP_BASE_HREF during the bootstrap for Angular 2 to not throw exceptions. If I set either of these the
Since the href attribute can take a relative path and thanks to @DavidC and @ChristianRondeau in the comments on the question for verifying, it should work like this:
<base href="./">
In a clean way, You can ONLY customize your build command without editing the value of <base href="/"> inside your index.html page
ng build --prod --base-href=./