title: How to avoid multiple instances of a service in Angular Dart
body: <p>It seems that each component that creates its own instance of [a] service. I don't understand why.</p>
  
  <p>I note this <a href="https://stackoverflow.com/questions/34929665/angularjs-2-multiple-instance-of-service-created">AngularJs 2 - multiple instance of service created</a>, but I'm not clear on the correct solution. Do I create the service instance <code>_myService</code> in main:</p>
  
  <pre><code> void main() {
    bootstrap(AppComponent,[MyService]);
   }
  </code></pre>
  
  <p>and then copy it to [child] components (because I also remove <code>MyService</code> from the component providers)? This doesn't seem correct, because the components reference <code>_myService</code> before it's instantiated, and I have to check it for being null.</p>
  
  <p>Thanks</p>
  
  <p>Steve</p>