Reputation: 18396
I'm not sure what I'm doing wrong but for some reason I can not get AngularJS UI's jquery passthrough to work correctly.
I think I have the module setup correctly (copied the example from the angular-ui site).
Here's a fiddle
Upvotes: 1
Views: 1682
Reputation: 14400
you have to import jQuery before angular to make it use jQuery for angular.element (because angular-ui use angular.element to look for jQuery.fn.yourFunction), here's a working fiddle:
Upvotes: 4