A simple angular component to deal with browser SpeechRecognition
Install the module via git, npm or bower.
npm install angular-speech
bower install angular-speech
git clone codekraft-studio/angular-speech
Than add the script and the style to your project:
<link rel="stylesheet" href="dist/angular-speech.css">
<script type="text/javascript" src="dist/angular-speech.js"></script>
At the end add the module to your angular application:
angular.module('app', ['angular-speech'])
Now you can use the angular-speech component everywhere in your application.
<angular-speech lang="en-US"></angular-speech>
Clone the project repository, than install the dependencies and run:
npm run start
this will fire up the grunt development environment with a http server and actions on file changes, than when you have done your editing you can run:
npm run build
to package the project to be ready for production.
The angular-speech is released under the MIT License by codekraft-studio.
- Fork it ( https://github.com/codekraft-studio/angular-speech/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Write and run the tests (
npm run test
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request