title: Trying to understand NGx-Bootstrap datepicker component
body: <p>I'm having some trouble understanding the docs for the date picker component.</p>
  
  <p><a href="https://valor-software.com/ngx-bootstrap/#/datepicker#bs-datepicker-config" rel="nofollow noreferrer">Date Picker Documentation</a></p>
  
  <p>What I understand:</p>
  
  <ul>
  <li><code>[(bsValue)]</code> should be set to the variable on the controller that I want to fill with a Date object</li>
  <li><code>bsDatepicker</code>is the directive that makes it a date picker</li>
  </ul>
  
  <p>What I don't understand:</p>
  
  <ul>
  <li>what <code>#dp=bsDatepicker</code> is for/does</li>
  <li><code>(click)=dp.toggle()</code> throws an error about the property toggle of undefined being called, but it does work!</li>
  </ul>
  
  <p>I do understand that the spec for this isn't final, but what are these properties and what are they supposed to do?</p>