I have the following code that I need to convert from jQuery to Angular.
$(this).append(elem)
I converted to the below and it seems to work:
angular.element(this).append(elem)
But isn't it this
a jQuery element?
I have the following code that I need to convert from jQuery to Angular.
$(this).append(elem)
I converted to the below and it seems to work:
angular.element(this).append(elem)
But isn't it this
a jQuery element?