html5 mode code example Example: html5 mode $locationProvider.html5Mode({ enabled: true, requireBase: false });