Anh Trinh JavaScript Developer

TodayILearnt: angular.element(elem) was actually an alias to the jQuery constructor function

If you include jQuery in your AngularJS application.

$element in your directive linking function is by default wrapped by jqLite. So you can only .find by tag name.

If you want to have full jQuery feature, you need to wrap your element with angular.element :)

This is quite tricky to know :)