How can an AngularJS site's url be automatically rewritten from example.com/app to example.com/app/#/?
Currently, it changes from example.com/app to example.com/app#/.
You can use this rule:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+?[^/])$ /$1/#/ [L,NE,R=302]
# to the URLS to allow to browser to handle further links. Maybe that has something to do with it.example.com/app what does it become?example.com/app#/example.com/app in Chrome dev tool to see what does it get redirected to? Make sure there is one rule as shown above.