Call a function from function inside the same controller
<p>So I'm trying to call a <code>function</code> from <code>another function</code>. And both of them defined inside the same <code>Controller</code>. But with everything I've tried so far it's <code>"funtion is not defined"</code> at the best. How to do this thing properly?</p>

<pre><code>angular.module('App')

.controller('Controller', ['$http', '$scope', function($http, $scope) {

    this.getSomething1 = function() {};

    this.getSomething2 = function() {
        if (1 == 1) {
            getSomething1();
        }
    };
}]);
</code></pre>

<blockquote>
  <p>ReferenceError: getSomething1 is not defined</p>
</blockquote>