style of function declaration in the controller of angular js
<p>New to angular.js.</p>

<p>Are there any drawbacks of using <code>$scope</code> with every function declared in the applications controller though we don't intend to use them in the view? in the below example is there any drawback or advantage of following the "example 2" style of coding?</p>

<p>In both the examples we intend to show only the <code>someFunc1</code> in the view</p>

<p>Example 1</p>

<pre><code>var app = angular.module('def',[]);
app.controller('abcctrl' , []) {

    $scope.function someFunc1(){
        someFunc2();
    }

    function someFunc2(){
    }

}]);
</code></pre>

<p>Example 2</p>

<pre><code>var app = angular.module('def',[]);
app.controller('abcctrl' , []) {

    $scope.someFuc1  = function(){
    $scope.someFunc2();
    };

    $scope.someFuc2 = function(){
    };

}]);
</code></pre>