Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Using jQuery Plugins Introducing jQuery Plugins How to Find Plugins

Craig Curtis
Craig Curtis
19,985 Points

Easy way to put jQuery Plugins into Angular?

I'm having to use tons of Angular on my new job.

And Angular UI and UI Bootstrap frankly are sucking pretty bad so-far. And most likely will never be majorly updated with Angular 2 evangalists spouting hellfire at 1.X and jQuery. (http://tech.zumba.com/2014/08/02/angularjs-forget-jquery/) {http://stackoverflow.com/questions/14994391/thinking-in-angularjs-if-i-have-a-jquery-background)

But, the unheap.com site is pretty damnazing (that's damn amazing).

Are there any good (non-hacky) ways to include or implement jQuery into Angular?

I've considered throwing jQuery into a $timeout function lower on my controller pages. I've seen also people putting them in directives. But they're not very pretty or easy to implement. And half the time, these don't work. (http://stackoverflow.com/questions/16935095/correct-way-to-integrate-jquery-plugins-in-angularjs) (https://amitgharat.wordpress.com/2013/02/03/an-approach-to-use-jquery-plugins-with-angularjs/)