title: AngularJS Service breaking Controller
body: <p>I'm trying to implement some services on my Angular v1.6.4 app. However I get this error <a href="https://i.stack.imgur.com/jSUA7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jSUA7.png" alt="my error"></a> when I import the service in my index.html</p>
  
  <p>This is the content of my service</p>
  
  <pre><code>angular.module('myApp', [])
  .service('SessionService', function() {
      $this.get = function () {
           return true;
      }
   });
  </code></pre>
  
  <p>I didn't even used it in my app. Simply importing it like</p>
  
  <pre><code>&lt;script src="path/to/SessionService.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>already brings the error up</p>
  
  <p>As of the home controller, I implemented it like this:</p>
  
  <pre><code>angular.module('myApp', [])
  .controller('home', ['$scope', function($scope) {
  
  }]);
  </code></pre>
  
  <p>And I called it like</p>
  
  <pre><code>&lt;header class="navbar" ng-controller="home"&gt;&lt;/header&gt;
  </code></pre>
  
  <p>I also made sure I was importing the home controller in my index.html.</p>
  
  <p>I just can't get what I'm missing out. Could you help me, please ?
  Thanks in advance!!!</p>