$$.() is undefined in angular controller

Helo.

First of all sorr my english.

I am making application with angularJs and webix.

I encountered an problem. When i am using $$.(“widgetId”) i’we got an error $$.() is undefined. I’ve tried also with webix.$$ and it is also undefined.

I can’t really make any app logic without $$.() function.

Can anybody help please???

Everything works fine now. I’ve used window.close method instead of windows.hide.
Then the element has been undefined in click.

Whey you are using window.close, window object (and all its content) is destroyed. window.hide just hides the window, so the same object can be reused later