I have an url like this:
site.co/asd#antani?id=9
How do i get id
value from this url dynamically and get the new value when it changes?
i tryed :
console.log($routeParams);
and i got Object {}
in console
thanks
OK i think i fixed it and it was to change URL
so to make $routeParams
works i needed to call
site.com/asd?id=9#antani
instead of
site.co/asd#antani?id=9
hope it can help also if i don't like the url in that way :D
big thanks to all and if you have any better solution let me know please !