Use angular.element instead of jQuery