title: angular2 - no service provider for DatepickerConfig
body: <p>I am implementing ng2-bootstrap datepicker, but getting the below error. Please help me on this. </p>
  
  <pre><code>EXCEPTION: Uncaught (in promise): Error: Error in
           http://localhost:8888/app/components/report.component.html:3:0 caused by: No provider for DatepickerConfig! 
  </code></pre>
  
  <p><strong>module.ts</strong></p>
  
  <pre><code> import { DatepickerModule } from 'ng2-bootstrap';
  
    @NgModule({
     imports: [DatepickerModule],
     declarations: [],
     providers: [],
     bootstrap: [AppComponent]
  })
  </code></pre>
  
  <p><strong>component.ts</strong></p>
  
  <pre><code>@Component({
   module: module.id,
   selector:'my-date',
   template: `
    &lt;h4&gt;My Date Picker&lt;/h4&gt;
    &lt;datepicker&gt;&lt;/datepicker&gt;`
  })
  
   export class MyComponent {
   }
  </code></pre>
  
  <p><strong>systemjs.config.js</strong></p>
  
  <pre><code>System.config({ map: { 'ng2-bootstrap':
   'npm:ng2-bootstrap/bundles/ng2-bootstrap.umd.js'} })
  </code></pre>