Added $locationProvider.html5Mode(true); to config in routes and   <base href="/"> to index.html to remove hashes /#/ from route urls