For some reasons, I can't change the style of an element using the following :
angular.element("#element").style.height = 100px;
I'm sure that angular.element("#element") works, as it returns a DOM element. Plus, this works :
angular.element("#element").addClass('something');
(Everything I've found is about ngStyle but I don't think it is what I'm looking for ?)
Should I use something else ?
If so :
What ?
Why .style.something doesn't work ?