Use the $locationProvider to configure how the application deep linking paths are stored.
$locationProvider
hashPrefix
html5Mode