driftyco/ng-cordova — pull request #27 by robations (2014-06-04 11:34:30+00:00)
Title: Handle Connection.NONE for offline

Fixed Connection.NONE not being handled as an offline state.

Also corrected a typo `s/Sate/State/` and suggested `===` for string comparisons.

In technical terms, Connection.UNKNOWN doesn't mean offline, literally meaning we don't know, but need more thought on how to handle this. Throw an exception?