Answers for "NG0303: Can't bind to 'ngIf' since it isn't a known property of 'form'."

0

NG0303: Can't bind to 'ngIf' since it isn't a known property of 'form'.

// If you are using RC5 then import this:

import { CommonModule } from '@angular/common';  
import { BrowserModule } from '@angular/platform-browser';

// and be sure to import CommonModule from the module that is providing your component.

 @NgModule({
    imports: [CommonModule],
    declarations: [MyComponent]
  ...
})
class MyComponentModule {}
Posted by: Guest on March-23-2021

Code answers related to "NG0303: Can't bind to 'ngIf' since it isn't a known property of 'form'."

Code answers related to "Javascript"

Browse Popular Code Answers by Language