How to use Protractor.addMockModule in the e2e test
<p>I have a typescript test:</p>

<pre><code>describe ('User should be able to login', () =&gt; {

beforeEach(()=&gt; {
browser.addMockModule('mockLogin', function() {
angular.module('mockLogin', []).value('foo', 'bar');
});
</code></pre>

<p>My modName is a typescript class:</p>

<pre><code>export class mockLogin {
... some code
}
</code></pre>

<p>I want to use that class but I get complilation error cannot find name angular.</p>