yeoman / generator-angular

Yeoman generator for AngularJS
http://yeoman.io
5.74k stars 1.45k forks source link

route not working #1379

Closed 0xd5dc closed 7 years ago

0xd5dc commented 7 years ago

my project wont open any link other than the landing page. everything works out of box except the route. for example, when I click on about link, the url changed to "http://localhost:9000/#!/#%2Fabout", but, if I manually type "http://localhost:9000/#!/about", it works.

my environment: angularjs 1.6.0 ubuntu 16.04 node v6.9.1 npm 3.10.8

0xd5dc commented 7 years ago

ok, it's the html. <li class="active"><a href="#/">Home</a></li> <li class="active"><a href="#!/">Home</a></li>

Nahiduzzaman commented 7 years ago

I had to downgrade angular version to 1.5.8 to get things work as before. When a new project is generated it fetch latest Angular JS 1.6.0 version