I know removing hash from AngularJS is pretty straightforward but the problem is that the backend is in Django.
So, the app works unless the page is refreshed using
Use Locationprovider instead of routeProvider and enable html5 to true. https://docs.angularjs.org/api/ng/provider/$locationProvider