I have created a page Main.html in witch there is a ViewModel. In this page there is a button that open a Window Modal and load in it a html page in ajax.
I want to use the viewmodel of the main.html in my window modal, but if I call the viewmodel it do error..
Does someone know how can I resolve?