<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
[ ] feature request
[ ] support request "><pre class="notranslate"><code class="notranslate">[x] bug report
[ ] feature request
[ ] support request 
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>

<p dir="auto">When a web component is used inside an Angular component, attributes specified on web component are not available inside <code class="notranslate">attachedCallback</code> of web component. Also, when an attribute value for a web component is specified using an interpolation operator <code class="notranslate">value="{{value}}"</code>, Angular changes attribute name with a <code class="notranslate">ng-reflect-</code> prefix and manages it internally. Because of this there is no way <code class="notranslate">attributeChangedCallback</code> could trigger appropriately.</p>
<p dir="auto"><strong>Expected behavior</strong></p>

<p dir="auto">There should be a way to use web component inside Angular component in a way such that attributes are available inside <code class="notranslate">attachedCallback</code> and <code class="notranslate">attributeChangedCallback</code> is triggered correctly for appropriate attributes.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>

<p dir="auto">This shows a sample Toggle Button web component used inside Angular component.<br>
<a href="https://plnkr.co/edit/MwLh8ssnjOdqA8C4PhZq?p=preview" rel="nofollow">https://plnkr.co/edit/MwLh8ssnjOdqA8C4PhZq?p=preview</a></p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>

<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.X</li>
</ul>

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

<ul dir="auto">
<li><strong>Language:</strong> [ES6]</li>
</ul>
<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
[ ] feature request
[ ] support request"><pre class="notranslate"><code class="notranslate">[x] bug report
[ ] feature request
[ ] support request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
I'm trying to integrate ChartIQ library which has HTML Custom Elements to my angular 2 application.<br>
Some of these elements have logic in createdCallback, but when it is firing innerHTML of Custom element is empty.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
If I use Custom Elements without Angular, createdCallback is firing when the full element (with all childrens added into it) inserted into DOM.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br>
<a href="http://plnkr.co/edit/OW500u9fr27aVteo3zJh" rel="nofollow">http://plnkr.co/edit/OW500u9fr27aVteo3zJh</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
For now Angular 2 breaks some part of expected behavior of Custom Elements. It needs to be fixed to allow using Custom Elements in Angular apps.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
Windows 8, WebStorm, npm</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong><br>
2.2.1</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong><br>
Chrome 55</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong><br>
all</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
6.7.0</p>
</li>
</ul>