I installed a new Angular project using yoman. The Angular version is 1.6.0. The project setup was successful, but I ran into a routing problem
Task runner - Grunt
When I run the project locally, my local page will load with the URL
http: // localhost: 9000 / #! /
I was expecting http: // localhost: 9000 / # /
When you click on the link About the browser links are routed to
http: // localhost: 9000 / #! /% 23% 2Fabout
Waiting: http: // localhost: 9000 / # / about
When I click the link to the home page, the browser is routed to
http: // localhost: 9000 / #! /% 23% 2F
Waiting: http: // localhost: 9000 / # /
What could be the problem? I have no such problems on my other system where I use AngularJS 1.5.8.
I got the solution using the following code. You can write in the app.js file
$locationProvider.hashPrefix('');
Source: https://habr.com/ru/post/1262285/More articles:LinkedHashMap memory consumption - javaKotlin compiler popup plugin not working - kotlinYii2: get selected row data from gridView column columns in a controller - javascriptThe ui-router corner app has / #! / In the url - angularjsSwift ViewController Background turns black with alpha - iosGet all files recursively in NodejS directories - node.jsMockito verify that a specific lambda has been passed as an argument to the layout method - javaHow to get rid of viewmodel in Durandal after deactivation - javascriptHow to detect ellipses in an image without using fitEllipse () in opencv? - image-processingHow to use the RouterModule.forRoot () command in Angular2 / cli ngc compiler command - angularAll Articles