I\'m learning AngularJS and there\'s one thing that really annoys me.
I use $routeProvider to declare routing rules for my application:
$routeProvider
In Angular 6, with your router you can use:
RouterModule.forRoot(routes, { useHash: false })