Ionic 1 speech recognition

Hi,

How to use voice recognition ionic 1. I have installed “cordova plugin add cordova-plugin-speechrecognition”.

And used var recognition = new SpeechRecognition();
recognition.start();
How to implement these functionality…?
I am able to use text to speak functionality