Reputation: 1653
I have a problem with Angular JS,
When accessing this:
domain.name/#/filme/view/Dilwale/524
It is changing the url to this:
domain.name/#!/#%2Ffilme%2Fview%2FDilwale%2F524
What could be the reason for that?
Upvotes: 2
Views: 713
Reputation: 4863
As per my answer: Why is there #! in the url of my angular app
It also could be because of breaking changes in angular 1.6.0. (if you are using angular 1.6.0 :)
changelog: https://github.com/angular/angular.js/blob/master/CHANGELOG.md
change: https://github.com/angular/angular.js/commit/aa077e81129c740041438688dff2e8d20c3d7b52
BREAKING CHANGE
The hash-prefix for $location hash-bang URLs has changed from the empty string "" to the bang "!". If your application does not use HTML5 mode or is being run on browsers that do not support HTML5 mode, and you have not specified your own hash-prefix then client side URLs will now contain a "!" prefix. For example, rather than mydomain.com/#/a/b/c will become mydomain/#!/a/b/c.
Upvotes: 3