title: yii2: Dynamically call widget
body: <p>Lets imagine that I have some widget: Widget1;</p>
  
  <p>I call this widget in view file.</p>
  
  <pre><code>&lt;?= Widget1::widget() ?&gt;
  </code></pre>
  
  <p>When you click on some element, a new instance of the widget should be called and  execute js scripts of this widget. 
  I can not realize the script execution after ajax call;</p>