Wrapping Wavesurfer.fm plugin into AngularJS directive to make it easy to work with and use in AngularJS projects