angular-elements-example
npm install angular-elements-exampleThe class CalculatorWidgetComponent implements a basic calculator widget, which is bootstraped as a custom element in the AppModule.
When running ng build, the dist folder contains the javascript files which are then used in a plain HTML file within the plain-html folder.