title: Angular 2 - datepickers don't work
body: <p>I need a datepicker to my application. First I tried to add bootstrap datepicker, but it didn't work. Therefore I tried to use ngBootstrap, but it still doesn't work. When I click to the icon I didn't get an calendar. Icon is not working.</p>
  <p>my code:</p>
  <pre><code>&lt;form class=&quot;form-inline&quot;&gt;
  &lt;div class=&quot;form-group&quot;&gt;
      &lt;div class=&quot;input-group&quot;&gt;
      &lt;input class=&quot;form-control&quot; placeholder=&quot;yyyy-mm-dd&quot;
              name=&quot;dp&quot; [(ngModel)]=&quot;modelDate&quot; ngbDatepicker #d=&quot;ngbDatepicker&quot;&gt;
      &lt;div class=&quot;input-group-addon&quot; (click)=&quot;d.toggle()&quot; &gt;
          &lt;img src=&quot;img/calendar-icon.svg&quot; style=&quot;width: 1.2rem; height: 1rem; cursor: pointer;&quot;/&gt;
      &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <hr/>
  <pre>Model: {{ modelDate | json }}</pre>