<p dir="auto">web-workers/worker/application_common.ts duplicates a lot of code from core/application_common.ts. It's primarily duplicating DI bindings. I talked to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vsavkin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vsavkin">@vsavkin</a> about this today and the current plan is to move all the export all the bindings that the webworker needs to a separate file and import that file in both core/application_common.ts and web-workers/worker/application_common.ts</p>
<p dir="auto">Hello.<br>
I have the code <a href="http://plnkr.co/edit/PNMu9bYdcH8HUNQOSKTn" rel="nofollow">http://plnkr.co/edit/PNMu9bYdcH8HUNQOSKTn</a> on angular 1.x<br>
and I try to do the same on angular 2 - <a href="http://plnkr.co/edit/Yx51PogyCQXYE8bKM65l" rel="nofollow">http://plnkr.co/edit/Yx51PogyCQXYE8bKM65l</a><br>
but it doesn't work on angular2<br>
maybe I made mistake?</p>