<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>I try to get pv web visualizer to work inside an angular2
component.</p>
<p>The window opens on server and connection object seems right. But
I get pv is not defined when try to call
<meta charset="UTF-8">
</p>
<p>
<title>Snippet</title>
<pre style="font-family:Consolas;font-size:13;color:gainsboro;background:#1e1e1e;">pv.initializeVisualizer(...)
</pre>
. Any ideas why this could be?<br>
</p>
<p><br>
</p>
<p>ReferenceError: pv is not defined<br>
at start
(<a class="moz-txt-link-freetext" href="http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18">http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18</a>)<br>
at q.connectionInfo.connection.onopen
(<a class="moz-txt-link-freetext" href="http://localhost:24264/lib/core/vtkweb-all.min.js:30:556">http://localhost:24264/lib/core/vtkweb-all.min.js:30:556</a>)<br>
at w.b._session.onjoin
(<a class="moz-txt-link-freetext" href="http://localhost:24264/ext/core/autobahn.min.js:29:210">http://localhost:24264/ext/core/autobahn.min.js:29:210</a>)<br>
at Object.f._socket.onmessage
(<a class="moz-txt-link-freetext" href="http://localhost:24264/ext/core/autobahn.min.js:95:330">http://localhost:24264/ext/core/autobahn.min.js:95:330</a>)<br>
at WebSocket.window.b.onmessage
(<a class="moz-txt-link-freetext" href="http://localhost:24264/ext/core/autobahn.min.js:114:422">http://localhost:24264/ext/core/autobahn.min.js:114:422</a>)<br>
</p>
<br>
</body>
</html>