Implementation of Plugins?

I am new to IONIC. I have no idea how to implement for example the vibration plugin in the blank template of the app. What is the simplest, easiest way to get the vibration or any plugin working with the fewest lines of code? Many thanks for your help!

Take a look at
This is a well and useful description, You just have to follow the instructions.