There is something about the %13 characters in the ng book that replace the regular letter. Unfortunately, we are talking about a different topic - we are talking about calling $ http or xhr api via REST, where there are two modes (the same would be here) - one normal mode and the second JQuery. It turned out that jquery adds these %13 characters to things like arr[]=1 .
Why am I saying this? Because after the solution comes libraries and functions that support the limit conditions.
The situation in your question is quite simple. There is a $ location service, which is a solution, and URLs are created using simillary in two modes, which are hashbang, not hashbang.
In a task with jquery parameters, developers provided a library for exchanging standard jquery parameters. In real life, there are many converters, such as pdf to doc, etc.
Look at the short chapter in the book .
It is argued that in html5 mode you cannot have two hashes in the url, but in hash bang mode you can. The browser cannot know which hash should go into hashbang mode. Support for this is the anchorScroll service.
I did not check if this works in this case, but try to configure your application using AnchorScrollProvider :
.config(function($anchorScrollProvider){ $anchorScrollProvider.disableAutoScrolling(); });
Then, when I write, you can add the $anchorService service $anchorService in your application (especially in the controller bound to the view containing some-div-id div) and call the anchorScroll() function of this service at any selected time.
I canβt check it right now, so this is a theoretical answer.
cyan
source share