angular add service worker

Shell
ng add @angular/pwa --project *project-name*
Source

Also in Shell: