title: How can I set the width of angular 2 modal popup window dynamically?
body: <p>How can I set the width of angular 2 modal popup window dynamically?</p>
  
  <p>I am using angular2-modal for creating popups.</p>
  
  <p>How can I send width to the following code - </p>
  
  <pre><code>this.modal.open(CustomModal, overlayConfigFactory({ num1: 2, num2: 3 }, BSModalContext));
  </code></pre>
  
  <p>Plunker code is here</p>
  
  <p><a href="http://embed.plnkr.co/mbPzd8/" rel="nofollow noreferrer">http://embed.plnkr.co/mbPzd8/</a></p>