Unable to use ngCordova keyboard plugin

Unable to use ngCordova keyboard plugin.Getting error:
ReferenceError: cordova is not defined
I have included ngCordova script before cordova:

<script src= "js/ng-cordova.min.js"></script>
<script src= "cordova.js"></script>

injected ngCordova module and injected $cordovaKeyboard in controller.

Can you provide some code?

Thanks for your reply, below is the code where I used hideAccessoryBar function.

.controller(‘searchCtrl’, function($scope, $cordovaKeyboard) {
$cordovaKeyboard.hideAccessoryBar(true);
})