title: How to Inject Window into Angular 2.1.0
body: <p>In the earlier RC releases of Angular 2 I was able to inject the window object by adding </p>
  
  <p><code>{provide: Window, useValue: window}</code> </p>
  
  <p>To the providers array.</p>
  
  <p>Since upgrading to the latest stable release of angular 2 (2.1.0) this now throws a console error </p>
  
  <blockquote>
    <p>compiler.umd.js:14268Uncaught Error: Can't resolve all parameters for LoginComponent: (AuthService, UserMessagesService, ?).</p>
  </blockquote>
  
  <p>The ? in the parameter list is where I am trying to inject the Window object.</p>