So to deploy angular2 app we simply upload all production files to a bucket just as described here. (deploy static website).
But how can we redirect all urls to
I solved this issue by using a hack, not sure what the proper way to do this. But atleast this worked.