title: Mock angular2 service in protractor tests
body: <p>I'd like to effectively provide an alternate implementation of an angular2 service for the extent of the protractor test spec. I'm not trying to test the service, so MockBackend provides little value. </p>
  
  <p>Is there anyway I can access injector or register a provider before specs run? this type of thing </p>
  
  <pre><code>{provide: MyService, useClass: MyMockedService}
  </code></pre>
  
  <p>And just have MyMockedService have same methods that return hardcoded values?</p>
  
  <p>I know how to do this in unit tests, this is specifically protractor e2e tests. And again, I'm not trying to test the service... I dont believe MockBackend helps here.</p>