Angular Easy Voice
Is a voice command library.
Installation
bower install angular-easy-voice --save
Add dependencies to the section of your main html:
Add module
MODULE NAME: 'angular-easy-voice'; angular ;
Basic usage
// The first parameter is the phrase that will turn on the voice command.EasyVoice; // true or false to come active
Stop
EasyVoice;
Example Simple Command
EasyVoice;
Example Start-based command
//Command will be executed when the user phrase starts with "Search people"EasyVoice;
Example Speech
//The first parameter is speech, The second parameter is the language // language is optional, default: 'en-US' EasyVoice;
Add words
EasyVoice; // or ["Gumga", "Other"]
Translate
EasyVoice;
Installation of dependencies for use or development
npm install
Tasks
Run the task 'npm run dev' for the development. Run the task 'npm run prod' generating the minified file.