Options +FollowSymLinks

DirectoryIndex index.html

<IfModule mod_rewrite.c>
  # http://stackoverflow.com/questions/22739455/htaccess-redirect-for-angular-routes
  RewriteEngine on
  # Don't rewrite files or directories
  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^ - [L]

  # Rewrite everything else to index.html to allow html5 state links
  RewriteRule ^ index.html [L]
</IfModule>
