{"id":19370838,"url":"https://github.com/playerx/angular-elements-sample","last_synced_at":"2025-10-07T03:42:31.064Z","repository":{"id":27355617,"uuid":"113519396","full_name":"playerx/angular-elements-sample","owner":"playerx","description":"Demo project, that demonstrates how to generate Web Components using Angular Elements, cool stuff :)","archived":false,"fork":false,"pushed_at":"2023-02-27T17:54:55.000Z","size":1378,"stargazers_count":18,"open_issues_count":10,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-05T12:39:14.356Z","etag":null,"topics":["angular","demo","elements","sample","webcomponents"],"latest_commit_sha":null,"homepage":"https://angular-elements-sample.now.sh/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playerx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-08T02:03:34.000Z","updated_at":"2025-06-19T17:25:52.000Z","dependencies_parsed_at":"2025-01-19T22:22:24.325Z","dependency_job_id":null,"html_url":"https://github.com/playerx/angular-elements-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/playerx/angular-elements-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerx%2Fangular-elements-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerx%2Fangular-elements-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerx%2Fangular-elements-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerx%2Fangular-elements-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playerx","download_url":"https://codeload.github.com/playerx/angular-elements-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerx%2Fangular-elements-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717437,"owners_count":26033539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","demo","elements","sample","webcomponents"],"created_at":"2024-11-10T08:16:45.088Z","updated_at":"2025-10-07T03:42:31.048Z","avatar_url":"https://github.com/playerx.png","language":"TypeScript","readme":"# AngularElementsSample\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.0. and demonstrates how web components can be generated using standard angular components\n\n## Development server\n\nRun `npm start` for a dev server. Navigate to `http://localhost:4200/`. \n\n\n## How to implement\nPlease review the commits, I've created step by step commits. \n\n\n## How to use\nAfter build `npm run build` there will be three js files (inline.bundle.js, main.bundle.js, styles.bundle.js) include them in any html file and you will have access to your web components, created in angular!\n\n\n## @angular/elements\nthis package is coppied from angular repository labs/elements branch, it's folder can be removed after this package will be released and will be available on npm\n\n\n## Summarize\nWe don't have bootstrap component in AppModule, instead of that we can have any number of entry components and they all will be web components!\n\nFor demonstration I've commented standard app-root component in index.html and placed multiple app-like-button components.\n\nTo create more web components using angular, just generate new component `ng g component my-new-comp` and place in AppModule's entryComponent's list, thats it, really simple :)\n\n## Video\n[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/ljsOPm4MMEo/0.jpg)](https://www.youtube.com/watch?v=ljsOPm4MMEo)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayerx%2Fangular-elements-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayerx%2Fangular-elements-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayerx%2Fangular-elements-sample/lists"}