Why servcie Worker is needed in Angular Apps code example Example: angular add service worker ng add @angular/pwa --project *project-name*