v2.scanNetwork is not a function

Hey guys,
when i try to run this function on Android device:

$scope.listNetwork = function(){
var type = $cordovaNetwork.getNetwork()
$scope.scanNetwork = type;
};

i have thi error in chrome inspect:

TypeError: v2.scanNetwork is not a function
at fn (eval at compile (ionic.bundle.js:27638), :4:224)
at ionic.bundle.js:65427
at Scope.$eval (ionic.bundle.js:30395)
at Scope.$apply (ionic.bundle.js:30495)
at HTMLButtonElement. (ionic.bundle.js:65426)
at defaultHandlerWrapper (ionic.bundle.js:16787)
at HTMLButtonElement.eventHandler (ionic.bundle.js:16775)
at triggerMouseEvent (ionic.bundle.js:2953)
at tapClick (ionic.bundle.js:2942)
at HTMLDocument.tapTouchEnd (ionic.bundle.js:3069)

I’m using ngCordova network plugin.
These are the specs of my system:

Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: Not installed
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.3.1
Xcode version: Xcode 8.0 Build version 8A218a

anyone can help me?

Thanks to everyone