title: Angular and cloudfront with Safari
body: <p>We've setup an angularjs application on cloudfront which has all asset files on s3 storage and from there used via cloudfront for SSL and performance. </p>
  
  <p>We have an identical setup to what is described in this guide </p>
  
  <p><a href="https://rossfairbanks.com/2015/01/30/integrating-angular-s3-cloudfront.html">https://rossfairbanks.com/2015/01/30/integrating-angular-s3-cloudfront.html</a></p>
  
  <p>As we used same post to create our own setup, it seems though that this works on all browsers except Safari. </p>
  
  <p>On Safari, when visiting a url directly on a given path or refreshing any sub pages, the ui-router would redirect user page to landing page. </p>
  
  <p>For staging though, we have same setup but running directly on S3 without CloudFront in middle hence no SSL. but, yet it seems to work even on Safari</p>
  
  <p>so, problem seem to be an issue with CloudFront and Safari to be more specific. </p>
  
  <p>Can anyone advise on what could be the cause? and how we can solve it?</p>
  
  <p><strong>UPDATE</strong>: This issue might be related to this bug <a href="https://bugs.webkit.org/show_bug.cgi?id=24175">https://bugs.webkit.org/show_bug.cgi?id=24175</a></p>