peaks.js icon indicating copy to clipboard operation
peaks.js copied to clipboard

Use in AngularJS

Open kokokenada opened this issue 9 years ago • 2 comments

This seems difficult to get going in AngularJS. I tried the pure JavaScript approach (build locally and include peaks.min.js. The peaks.js could not be found when I tried the init sample in the readme. Using requirejs looked like it would need quite a few changes to my app's boot strapping process. It would be nice if the bower install have me min.js and .js versions of the library that I could simply include and use.

kokokenada avatar Jan 02 '16 14:01 kokokenada

@kokokenada Which tools do you use to build your projects? Maybe we can help configure them rather than changing peaks.js build lifecycle.

thom4parisot avatar Dec 19 '16 13:12 thom4parisot

Agree on this one. I'm also having difficulties including this in Ember.

jurgenwerk avatar Jun 17 '17 13:06 jurgenwerk

This is fixed in recent versions. There's an Angular example at https://github.com/chrisn/peaksjs-angular-example.

chrisn avatar Nov 10 '22 20:11 chrisn