Forget... $anchorScroll is very limited. I'm using: https://github.com/durated/angular-scroll
On Monday, October 20, 2014 9:37:27 AM UTC-2, Joberto Diniz wrote: > > In the angular example: > https://code.angularjs.org/1.2.26/docs/api/ng/service/$anchorScroll when > they change the location hash, the actual value in the browser doesn't > change, however, when I tried to use the example, setting the > $location.hash('something'), the browser url becomes > mydomain.com/#!/mypage#something > <http://mydomain.com/#!/mypage%23something> and I didn't want that. > > How to change the $location.hash without changing the browser url? > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
