How can I use the Keyboard plugin?

I am trying to use the cordova.plugins.Keyboard.close(); function, however I cannot figure what to inject in order to use it.

How do I use this function in a controller?

Actually it is very easy… Please take a look at this formula and afterwards try to figure out how you can use keyboard plugin.

Too bad there is no downvote button.

That is not an answer.