What I want
Use the library HTML-GL inside a component in my Angular project (with the Ionic framework included).
What I got now
I included the library scripts inside my index.html
, right above the polyfills.js
- like this:
<!-- HtmlGL import -->
<script async src="assets/js/htmlgl.js"></script>
<script async src="assets/js/htmlGL_pulse.js"></script>
Right now the following web element works in index.html
:
<html-gl>
<h1>This is an animated header</h1>
<html-gl>
What goes wrong
When I place the html above in a separate component I get the following error:
Uncaught Error: Template parse errors:
'html-gl' is not a known element
How can I make sure the component is aware of the `html-gl> tag?