title: Why my Angular factory throw TypeError: __tracer.traceFunCall(...) is not a function
body: <p>This line of code does no let me sleep:</p>
  
  <pre><code>$scope.search = function (login) {
        github.getUser(login).then(onUserResponse, onError);
      };
  </code></pre>
  
  <p>Loading it up:</p>
  
  <pre><code>angular.module('lol')
      .factory('github', github);
  </code></pre>
  
  <p>Returning two functions :</p>
  
  <pre><code>return {
        getUser: getUser,
        getRepos: getRepos
      };
  </code></pre>
  
  <p>With this siganture:</p>
  
  <pre><code>var github = function ($http) {
  </code></pre>
  
  <p>Consumed by MainController:</p>
  
  <pre><code>  var MainCtrl = function ($scope, github, $filter, $timeout, $intervel, $anchorScroll, $location) {
  </code></pre>
  
  <p>And not injected into it's dependencies:</p>
  
  <pre><code> MainCtrl.$inject = ['$scope', '$filter', '$interval', '$timeout', '$anchorScroll', '$location'];
  </code></pre>
  
  <p>With the app being loaded like this:</p>
  
  <pre><code>angular.module('lol', [])
      .controller('MainCtrl', MainCtrl);
  </code></pre>
  
  <p>And all of this throw: <code>TypeError: __tracer.traceFunCall(...) is not a function</code></p>