Is there a way to simulate resize in Angular without using jQuery?
In the past, I used the following code:
$(window).resize();
I also have a question about focusing on an element:
angular.element(document.querySelector('.kb-active')).focus();
However, when I try this, I get an error message in the console: "Error: angular.element(...).focus is not a function"
Any suggestions or advice are greatly appreciated. Thanks!