title: Angular 2 after update I get this error: Cannot read property 'zone' of undefined
body: <p>I just updated angular 2 from beta 9 to beta 11 (or beta 10) and now I get this error in console: <code>Uncaught TypeError: Cannot read property 'zone' of undefined</code> in <code>angular2-polyfills.js:142</code> without changing anything to code.</p>
  
  <p>The line in <code>angular2-polyfills.js:142</code> where console report the error is:</p>
  
  <pre><code>task.zone.cancelTask(task);
  </code></pre>
  
  <p>I am using plain js.</p>
  
  <p>In index.html I include this 4 js files:</p>
  
  <pre><code>&lt;script src="libs/es6-shim/es6-shim.min.js"&gt;&lt;/script&gt;
  &lt;script src="libs/angular/2.0.0-beta.11/angular2-polyfills.js"&gt;&lt;/script&gt;
  &lt;script src="libs/angular/2.0.0-beta.11/Rx.umd.js"&gt;&lt;/script&gt;
  &lt;script src="libs/angular/2.0.0-beta.11/angular2-all.umd.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And all ngZone related code that I use is to make a method of a class accesible from external js.</p>
  
  <pre><code>window.PushService = {
              onCallFromOutside: this.onCallFromOutside.bind(this),
              zone: _ngZone
          };
  </code></pre>
  
  <p>Also I try to comment all code where I use ngZone and the error is still here. </p>
  
  <p>What is related to and how can I fix this error?</p>