I am using ui-router in angularjs for routing. I have url something like this
www.example.com/*variable
in which variable has a form of word1/word2
So the url becomes www.example.com/word1/word2
but when i apply
$state.reload(); or
$state.go($state.current,{},reload:true);
The forward slash get replaced with %252
and url becomes
www.example.com/word1%252Fword2
why it is happening and what can be the solution for this?