Adding a service worker to an Angular app is quite easy. Issue the command ng add @angular/pwa, and it adds a| golb.hplar.ch