added $locationProvider with html5Mode(true) to the config function