Is it possible to use hotword api ? like sonux or snowboy to integrate in ionic?

hi im a newbie in ionic and Im creating a speech recognition app for our project and I want it that when it hears a keywod like for example "OK Google " it will then ask “what can i do” something. My question is that, what api can I use to have this ? by the way our project is not machine learning the question will be ask by the system is just static. I hope you can help me with this.