title: How to execute the function after change page in angularjs?
body: <p>I have a problem.</p>
  
  <pre><code>.controller('A_Ctrl', function($scope){
      $scope.getdata = function(){
         console.log("ok");
      }
  })
  </code></pre>
  
  <p>I want to execute the function <code>$scope.getdata()</code> when view change by this view each time.</p>
  
  <p>But this function is executed only once when change view by this view at first time.</p>
  
  <p>My suggestion is possible in angularjs?</p>