title: change rout without reloading previous date angular js
body: <p>I show my search result data as below.
  <a href="https://i.stack.imgur.com/neU3M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/neU3M.png" alt="enter image description here" /></a></p>
  <p>This page URL is &quot;http://localhost:8081/#!/app/sanction-screening&quot;.  When user clicking the view button, I showed more data in a another page. View button code is</p>
  <pre><code> &lt;a href=&quot;#!/app/sanction-screening-view/{{users.id}}&quot;&gt; view&lt;/a&gt;
  </code></pre>
  <p>After click view button page rout like this &quot;http://localhost:8081/#!/app/sanction-screening-view/1&quot;</p>
  <p>In the view page controller i am using below code to access object</p>
  <pre><code>.config([&quot;$stateProvider&quot;,function ($stateProvider) {
      $stateProvider.state(&quot;app.sanction-screening-view&quot;, {
          url: &quot;/sanction-screening-view/:id&quot;,
          templateUrl:
            &quot;modules/sanction-screening-view/sanction-screening-view.html&quot;,
          controller: &quot;sanctionViewCtrl&quot;,
      });
  },])
  </code></pre>
  <p>All functionalities working well. In the second page i added back button. when i click my back button, page rout to the search result page correctly. but search result is cleared(empty table). My back button code like</p>
  <pre><code>  $scope.goBack = function () {
      $state.go(&quot;app.sanction-screening&quot;);
    };
  </code></pre>
  <p>When I click the back button, I need to show last search result grid. How I do it, if u can please send the small example</p>