Service for angular 6 to detect if the browser has network connection.
Instalation
npm install network-status-angular
In app.module.ts
;;;; @ {}
Usage
In order to use NetworkStatusService, it's necessary to init in one of your component, for example in app.component.ts.
; ; @ { thisnetworkStatusAngularServicestatus; }