Favicon not showing for the page opened with window.open
<p>I have created a page say A where I have added a link </p>

<pre><code>&lt;a href="#" ng-click="printMe()"&gt;print&lt;/a&gt;
</code></pre>

<p>Now when I click on print the function does <code>window.open().document.write(html);</code>
This html variable contains html tags to show data in print view-</p>

<pre><code>html="&lt;html&gt;";
html +="&lt;head&gt;&lt;link rel='shortcut icon' href='favicon.ico' type='image/vnd.microsoft.icon' &gt;";
....
...
</code></pre>

<p>This new page which opens in new tab fails to show favicon. whereas the same tag is used in parent page shows it. when i checked source it shows the ico image exists.</p>