title: Angular Providers for Services
body: <p>I learnt that in Angular we need to provide services in providers of components like <code>providers: [MyService]</code> and to access it, I need to specify in constructor:</p>
  <pre><code>constructor(private myService: MyService) {}
  </code></pre>
  <p>If constructor creates a property <code>myService</code> and also assigns the value passed to the constructor, why should I need to mention the service name in providers?</p>