title: Error: [$injector:unpr] Unknown provider: someProvider <- SomeService
body: <p>In angularjs</p>
  
  <p>I have made sure to register a service like this, inside the services directory inside modules -> module_name</p>
  
  <pre><code>angular.module('module_name').factory('service_name', [
      function() {
          // Public API
      console.log('hello');
          return {
              someMethod: function() {
                  return true;
              }
          };
      }
  ]);
  </code></pre>
  
  <p>from this <a href="https://stackoverflow.com/questions/18284793/error-unknown-provider-employeesprovider-employees">Error: Unknown provider: employeesProvider &lt;- employees</a> i found removing the ngController solves the issue, but
  I am trying to render a view that must have a controller to render some model data.</p>
  
  <p>If i remove that ngController, i get no data.</p>
  
  <p>What do i do?</p>