title: Can't bind to 'ngModule' since it isn't a known property of 'input'. in angular 2 asp.net core
body: <p>Package.json</p>
  
  <pre><code>{
    "version": "1.0.0",
    "name": "asp.net",
    "private": true,
    "dependencies": {
      "@angular/common": "2.0.0",
      "@angular/compiler": "2.0.0",
      "@angular/core": "2.0.0",
      "@angular/forms": "2.0.0",
      "@angular/http": "2.0.0",
      "@angular/platform-browser": "2.0.0",
      "@angular/platform-browser-dynamic": "2.0.0",
      "@angular/router": "3.0.0",
      "@angular/upgrade": "2.0.0",
      "core-js": "^2.4.1",
      "reflect-metadata": "^0.1.3",
      "rxjs": "5.0.0-beta.12",
      "systemjs": "0.19.27",
      "zone.js": "^0.6.23",
      "angular2-in-memory-web-api": "0.0.20"
    },
    "devDependencies": {
    }
  }
  </code></pre>
  
  <p>This is the app.module.ts </p>
  
  <pre><code>import { NgModule } from '@angular/core';
  import { BrowserModule } from '@angular/platform-browser';
  import { FormsModule } from '@angular/forms';
  import { LoginComponent } from "./Components/login.Component";
  
  
      @NgModule({
          imports: [BrowserModule, FormsModule],
          declarations: [LoginComponent],
          bootstrap: [LoginComponent]
      })
      export class AppModule { }
  </code></pre>
  
  <p>I have import the <strong>FormsModule</strong> in the app.module but still I am facing the issue.</p>
  
  <p>This is the login.component.ts</p>
  
  <pre><code>import { Component } from '@angular/core';
  @Component({
      selector: 'login-app',
      templateUrl: 'Home/partialLogin'
  })
  export class LoginComponent {
      email: string;
      password: string;
      constructor() {
          this.email = "erere@ada.com";
          this.password = "test anand";
  
      }
  
      login(event) {
          console.log(this.email);
          event.preventDefault();
  
      }
  
  }
  </code></pre>
  
  <p>login.cshtml</p>
  
  <pre><code> &lt;div style="margin-bottom: 25px" class="input-group"&gt;
                          &lt;span class="input-group-addon"&gt;&lt;i class="glyphicon glyphicon-user"&gt;&lt;/i&gt;&lt;/span&gt;
                          &lt;input type="text" class="form-control" name="email" [(ngModule)] ="email" placeholder="username or email"&gt;
                      &lt;/div&gt;
  </code></pre>
  
  <p>I have google it for the solution. Everywhere they have mention to import formModule which I have already added But still facing the issue.</p>
  
  <p>Please can anyone solve this issue. </p>