Hide keyboard ios by clicking the button

I developed an app using Ionic and I need to hide the ios keyboard by clicking the button. I installed the plugin ionic keyboard:

cordova plugin add ionic-plugin-keyboard

I used this command and did not work:

cordova.plugins.Keyboard.close();

I am using this version of the Ionic with real device ios 8.

<link data-require="ionic@1.0.0-beta.1" data-semver="1.0.0-beta.1" rel="stylesheet" href="http://code.ionicframework.com/1.0.0-beta.13/css/ionic.css" />

<script data-require="ionic@1.0.0-beta.1" data-semver="1.0.0-beta.1" src="http://code.ionicframework.com/1.0.0-beta.13/js/ionic.bundle.js"></script>