title: How to call another scope function in AngularJS
body: <p>In AngularJS, I have 2 scope function in the controller, </p>
  
  <pre><code>$scope.fn1 = function(){
  //do something A
  };
  
  $scope.fn2 = function(){
      //do something B
      //I want to call fn1 here.
  };
  </code></pre>
  
  <p>If my fn2 want to call fn1, how can I do? Thanks!</p>