title: How to manually register an instance of a provider with angular2 dependancy system
body: <p>I am using Angular2 with OpenFin to build an application. I have a service class which is marked as Injectable and is listed as a provider in NgModule. It is being injected into a component but it is only when the component is created that my service class is instantiated. I would like the service class to be created when the application starts up regardless of whether my component is created but when my component is created the instance I created upfront should be injected into the component.</p>
  
  <p>I suspect what I want to do is create an instance of the service at startup and then pass that to Angular to tell it to use that instance when any component requires it. Is that possible or do I have to rely on Angular to instantiate my service.</p>
  
  <p>Thanks
  Andy</p>