title: Cannot read property 'schedule' of undefined
body: <p><strong>The desired output is the BsDatePicker</strong> and for some reason is giving me the error: <strong><em>Cannot read property 'schedule' of undefined</em></strong>.<br/> and also have the warning <strong>BsDatepickerModule is under development,
        BREAKING CHANGES are possible,
        PLEASE, read changelog</strong>
  <br/><br/>
  Angular-CLI version 1.7.4, ngx-bootstrap version 3.0.0, Angular 5
  <br/>
  <br/>
  This is the code of the html:
  <br/>
  <code>&lt;input type="text" [(ngModel)]="dateOfBirth" name="dateOfBirth" id="dateOfBirth" bsDatepicker class="form-control"/&gt;</code><br/>
  <br/>
  This is the code of the app.module.ts:
  <br/></p>
  
  <pre><code>import { BrowserModule } from '@angular/platform-browser';
  import { NgModule } from '@angular/core';
  import { FormsModule } from '@angular/forms';
  import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
  import { AppRoutingModule } from './app-routing.module';
  
  import { AppComponent } from './app.component';
  import { HomeComponent } from './home/home.component';
  import { PageNotFoundComponent } from './page-not-found/page-not-found.component';
  import { CreateEmployeeComponent } from './employee/create-employee/create-employee.component';
  
  
  @NgModule({
    declarations: [
      AppComponent,
      HomeComponent,
      CreateEmployeeComponent,
      PageNotFoundComponent 
    ],
    imports: [
      BrowserModule,
      FormsModule,
      BsDatepickerModule.forRoot(),
      AppRoutingModule
    ],
    providers: [],
    bootstrap: [AppComponent]
  })
  export class AppModule { }
  </code></pre>
  
  <p><br/>
  <br/>
  This is my app-routing.module.ts
  <br/></p>
  
  <pre><code>import { NgModule } from '@angular/core';
  import { Routes, RouterModule } from '@angular/router';
  import { HomeComponent } from './home/home.component';
  import { PageNotFoundComponent } from './page-not-found/page-not-found.component';
  import { CreateEmployeeComponent } from './employee/create-employee/create-employee.component';
  
  const routes: Routes = [
     { path : 'home' , component : HomeComponent},
     { path : 'createEmployee', component : CreateEmployeeComponent},
     { path : '', redirectTo: '/home', pathMatch : 'full'},
     { path : '**', component: PageNotFoundComponent}
  ];
  
  @NgModule({
    imports: [RouterModule.forRoot(routes)],
    exports: [RouterModule]
  })
  export class AppRoutingModule { }
  </code></pre>
  
  <p><br/>
  <br/></p>
  
  <p>And this is my .angular-cli.json<br/></p>
  
  <pre><code>..."testTsconfig": "tsconfig.spec.json",
        "prefix": "app",
        "styles": [
          "../node_modules/bootstrap/dist/css/bootstrap.min.css",
          "../node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
          "styles.css"
        ],
        "scripts": [
          "../node_modules/jquery/dist/jquery.slim.min.js",
          "../node_modules/popper.js/dist/umd/popper.min.js",
          "../node_modules/bootstrap/dist/js/bootstrap.min.js"
        ],
        "environmentSource": "environments/environment.ts",...
  </code></pre>