title: How to change $routeParams parameters?
body: <p>Im accessing this url: <a href="http://bazarak.af/#!/annonser/page=1&amp;" rel="noreferrer">http://bazarak.af/#!/annonser/page=1&amp;</a>...</p>
  
  <pre><code>.when("/annonser/:query",{
      templateUrl: '/views/search.php',
      controller: "Search"
  })
  </code></pre>
  
  <p>I would like to get the value of page and change it both in the url and in the routeParams.</p>
  
  <p>To get the page value I have tried </p>
  
  <pre><code>var pageNumber = $routeParams.page;  
  </code></pre>
  
  <p>and to set it I have tried:</p>
  
  <pre><code>$routeParams ==&gt; {page:5}
  </code></pre>
  
  <p>None of this works. And the documentation is not really helping me.
  How can I do this?</p>