Episode 102 - Angular Elements + Firebase

April 30, 2018 ยท View on GitHub

Build a custom Angular Elements Component and use it anywhere.

Watch the screencast

  1. git clone
  2. npm install
  3. npm run build:elements

This will create the custom component elements/user-poll.js.

Usage

You can use your custom Angular Elements component in any HTML page like so...

<user-poll></user-poll>
<script src="../elements/user-poll.js"></script>

Or simply open {local-path-to}/demo/index.html in your browser.