title: Performance benefit of adding function to $scope?
body: <p>Is there a major performance benefit to adding a function to $scope that doesn't need to be on $scope?</p>
  
  <p>example:</p>
  
  <pre><code>function myCtrl($scope){
      $scope.myFunc = function(){
          // my function on scope
          var four = myHelperFunc(2);
          return four;
      }
  
      function myHelperFunc(number){
          // my helper function
          return number * 2;
      }
  }
  </code></pre>
  
  <p>versus:</p>
  
  <pre><code>function myCtrl($scope){
      $scope.myFunc = function(){
          // my function on scope
          var four = $scope.myHelperFunc(2);
          return four;
      }
  
      $scope.myHelperFunc = function(number){
          // my helper function on scope
          // is this better than the previous example?
          return number * 2;
      }
  }
  </code></pre>