title: Angular on S3, refresh causes "AccessDenied" response
body: <p>I have an angular 5 app - that I've been running locally, had it running with a nodjs server on heroku fine, but when I put it in an S3 bucket, behind cloudfront  and i hit refresh I get this.</p>
  
  <pre><code>This XML file does not appear to have any style information associated with it. The document tree is shown below.
  &lt;Error&gt;
  &lt;Code&gt;AccessDenied&lt;/Code&gt;
  &lt;Message&gt;Access Denied&lt;/Message&gt;
  &lt;RequestId&gt;217...1C&lt;/RequestId&gt;
  &lt;HostId&gt;
  yu2de...dr0=
  &lt;/HostId&gt;
  &lt;/Error&gt;
  </code></pre>
  
  <p>Any suggestions?</p>