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