How to fix console error saying "Can't bind to 'ngif' since it isn't a known property" when working with Angular? Here is how:
There could be couple common reasons:
- Include CommonModule in module responsible for your component
                    @NgModule({
  imports: [CommonModule],
                  
                - another common mistake is when not using code completion and you made a mistake like in the title of this post, 'ngif' should be 'ngIf'  => notice the capitol "I"
so the correct *ngIf statement when using Angular would be something like this:
                    <div *ngIf="loaded | async">
...
</div>
                  
                
 
                     
                             
         
                            
                        
                            
                                 
                            
                        
                            
                                 
                            
                        
                            
                                