I have an angular element, goes with custom tagname - fancy-button
. How can I embed fancy-button
in a angular application?
I have tried the following ways, but none of them worked -
Imported angular-element script in
index.html/angular.json[scripts]
and embeddedfancy-button
inapp.component.html
(root component running in angular application)Imported angular-element script in
app.component.html
and also embeddedfancy-button
inapp.component.html
(root component running in angular application)
Thanks