Answers for "core.js:7813 Can't bind to 'ngIf' since it isn't a known property of 'div'"

0

core.js:7813 Can't bind to 'ngIf' since it isn't a known property of 'div'

import { CommonModule } from '@angular/common';  
import { BrowserModule } from '@angular/platform-browser';
Posted by: Guest on February-04-2021
0

core.js:7813 Can't bind to 'ngIf' since it isn't a known property of 'div'

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

Code answers related to "core.js:7813 Can't bind to 'ngIf' since it isn't a known property of 'div'"

Browse Popular Code Answers by Language