InstantPWA on Angular
Angular's src/index.html is the shell that hosts the app. Paste the InstantPWA snippet there and the widget renders outside the Angular zone, so it never triggers change detection.
Install: Full support
Web push: Full support
Angular 12+. Works with standalone components and NgModule apps.
How to set it up
- 1
Open src/index.html
Paste the snippet just before </body>.
- 2
ng build
The snippet is copied into the production bundle.
- 3
Deploy over HTTPS
Verify on your production URL.
Want the full technical guide?
Manifest, service worker and code samples for Angular.
FAQ
Does it conflict with Angular's Service Worker?+
No — InstantPWA registers its own scoped worker only if none is present.