Wrapping Wavesurfer.fm plugin into AngularJS directive to make it easy to work with and use in AngularJS projects
AngularJS directive wrap the wavesurfer.js plugin to be more flexible to use in AngularJS apps.
This alpha release contains some basic functionalities supported in wavesurfer.js:
You need bower installed globally:
$ npm install -g bower
To install wavesurfer-angular directive using bower use
$ bower install wavesurfer-angular
Added example shows how to use the directive.
To run the example follow the steps:
You need npm installed:
$ cd example
$ npm install http-server
$ http-server -p [port_number, 8080 is default]
MIT