You should not wrap angular.element object into jQuery(), because angular.element already return jQLite element
Rule based on Angular 1.x
The following patterns are considered problems;
/*eslint angular/no-jquery-angularelement: 2*/
// invalid
$(angular.element("#id")) // error: angular.element returns already a jQLite element. No need to wrap with the jQuery object
// invalid
jQuery(angular.element("#id")) // error: angular.element returns already a jQLite element. No need to wrap with the jQuery object
The following patterns are not considered problems;
/*eslint angular/no-jquery-angularelement: 2*/
// valid
angular.element("#id")
This rule was introduced in eslint-plugin-angular 0.1.0