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 index.html so that angular2 router can take care of them. We can set Main Page from website configuration of bucket. But we cannot specify that all urls should redirect to index.html.
Currently any url other than Main Page results in 404 page not found.
There is similar question on SO for amazon S3, but cannot find one for google cloud.
 
     
    

