<p dir="auto">now that barrel reorg is done and bundle reorg is almost done, it is time to remove the <code class="notranslate">angular2/angular2</code> barrel (entry point) and force everyone to import from the correct location.</p>
<p dir="auto">We are doing this because of the rule to export each symbol only via one public entry point to prevent confusion and code portability issues due to duplicate/platform-specific/bundle-specific imports.</p>
<p dir="auto">This change will affect the following:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> remove <code class="notranslate">angular2.ts</code></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> remove <code class="notranslate">angular2.dart</code> - requires fixing g3, so we should just fix ts side and leave this item open if we need more time to fix g3 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105148430" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/4027" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/4027/hovercard" href="https://github.com/angular/angular/issues/4027">#4027</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> update all internal imports that depend on <code class="notranslate">angular2/angular2</code></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> update System.register bundle config</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> update UMD bundle config</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> update all api docs</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> update all dev guide docs</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> update all dgeni (doc generation) entry points</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> update cli blueprints</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> update seed</li>
</ul>
<p dir="auto">// <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pkozlowski-opensource/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pkozlowski-opensource">@pkozlowski-opensource</a> <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> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robwormald/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robwormald">@robwormald</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wardbell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wardbell">@wardbell</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yjbanov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yjbanov">@yjbanov</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/petebacondarwin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/petebacondarwin">@petebacondarwin</a></p>
<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>

<p dir="auto">With aot enabled site, templateUrl fails to download in debug build</p>
<p dir="auto"><strong>Expected behavior</strong></p>

<p dir="auto">The templateUrl should download without issue</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>

<p dir="auto">Following the docs for setting up an aot enabled app I made templateUrl a relative path, set the moduleId on the component, set an id on the module and adding the window.module to the index.html page. When loading the component the site tried to load the template url from ~/templateUrl.<br>
See plunker: <a href="http://plnkr.co/edit/M4yogzUSJDnQxojAUVpc?p=preview" rel="nofollow">http://plnkr.co/edit/M4yogzUSJDnQxojAUVpc?p=preview</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>

<p dir="auto">Need to debug the application</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>

<p dir="auto">My dev environment is Windows 10 using VS2015</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.2.4</li>
</ul>

<ul dir="auto">
<li><strong>Browser:</strong> [all ]</li>
</ul>

<ul dir="auto">
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
v6.9.1</p>
</li>
</ul>