We have a piece of code that suppose to manipulate an existing element.
It looks like this:
[this.box] = angular.element('#pop-box-' + this.$scope.$id);
this.box.css({...});
Debugging this, the box is found properly and it is the right element. However, I am getting an error that css is not a function.
Based on the docs https://docs.angularjs.org/api/ng/function/angular.element, the element should have that available.
In our case, jQuery is also in the project.
What am I missing?
[this.box]