import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';

import { CalendarComponent } from './calendar.component';

@NgModule({
  declarations: [CalendarComponent],
  exports: [CalendarComponent],
  imports: [CommonModule, FormsModule]
})
export class CalendarModule { }

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';

import { CalendarComponent } from './calendar.component';

@NgModule({
  declarations: [CalendarComponent],
  exports: [CalendarComponent],
  imports: [BrowserModule, FormsModule]
})
export class CalendarModule { }

--- 
+++ 
@@ -1,5 +1,5 @@
 import { NgModule } from '@angular/core';
-import { BrowserModule } from '@angular/platform-browser';
+import { CommonModule } from '@angular/platform-browser';
 import { FormsModule } from '@angular/forms';
 
 import { CalendarComponent } from './calendar.component';
@@ -7,6 +7,6 @@
 @NgModule({
   declarations: [CalendarComponent],
   exports: [CalendarComponent],
-  imports: [BrowserModule, FormsModule]
+  imports: [CommonModule, FormsModule]
 })
 export class CalendarModule { }
Replace BrowserModule with CommonModule in calendar
