title: Error after adding cordova network plugin to Ionic Cordova app
body: <p>I'm getting the following error:</p>
  
  <pre><code>Unknown provider: $cordovaNetworkProvider &lt;- $cordovaNetwork &lt;- SponsorsCtrl
  </code></pre>
  
  <p>When I check the root of my project via the console with cordova plugin list, the network plugin is among the installed plugins list:</p>
  
  <pre><code>cordova-plugin-network-information 1.2.0 "Network Information"
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>.controller('SponsorsCtrl', function ($scope, $cordovaNetwork) {
      var isOnline = $cordovaNetwork.isOnline()
      var isOffline = $cordovaNetwork.isOffline()
  })
  </code></pre>
  
  <p>What could be the cause of it not being detected?</p>