title: $stateParams getting null after page refresh
body: <p>When passing $stateParams through $state.go it is  getting correctly when i click the link directly, but getting null after page refresh or open through another window.</p>
  
  <p>I have the following function:</p>
  
  <pre><code>$scope.urlvalues = function(url,page) {
      var result = {url:url, page:page};
          $state.go("detailpage", result);
  }
  </code></pre>
  
  <p>And my state looks like this:</p>
  
  <pre><code>.state('detailpage', {
              url: "/page/overview",
              templateUrl: "/page_details.html",
              controller: "PageDetailsController",
              params: {
                      url: null,
                      page: null
                      },         
          })
  </code></pre>
  
  <p>Thanks in advance.</p>