Things go smoothly as long as I remove
$locationprovider.html5mode(true)
. However, enabling html5mode seems to be causing some troubles. The main issue is that the css styles stop working after page refreshes. Any ideas on what could be causing this and how to address it? I am using AngularJS ui-router, could that be the culprit?