angular worker service to count opened windows code example Example: angular add service worker ng add @angular/pwa --project *project-name*