set base href dynamically angular 6 code example Example: base href angular ng build --prod --base-href /dashboard/