Cannot get $get method called automatically in angularjs provider
<p>Here's the piece of code I'm writing in angularjs 1.5.5:</p>

<pre><code>export default angular.module(
  'myApp', [])
  .provider('finder', function finderProvider() {
    this.$get = $get;

    function $get() {
      console.log('GET');
    }

    this.callMe = () =&gt; {
      console.log('CALLED');
    };
  })
  .config(['finderProvider', function(finderProvider) {
    //finderProvider.$get();
    finderProvider.callMe();
  }])
  .name;
</code></pre>

<p>I'm trying to inject a service into this provider later. I read on documentation that I can only inject a service inside a provider using $get() method. However, I cannot call $get() automatically. The only way I can get this working is to call $get() manually in the section where I commented the call. But it doesn't seem right to me to call $get manually.</p>

<p>In this example only 'CALLED' is getting logged. Any idea what I'm missing here?</p>

<p>EDIT. I tried to use another syntax using the arrow function, but got the same result:</p>

<pre><code>.provider('finder', () =&gt; {
    return {
      $get: () =&gt; {
        console.log('GET');
      },
      callMe: () =&gt; {
        console.log('CALLED');
      }
    };
  })
</code></pre>

<p>Thanks in advance.</p>