I have imported Forms module but I still get an error "Can't bind to 'ngModel' since it isn't a known property of 'input' ". Do you know how to solve this?
There are no changes regarding forms in Angular 17. You need to import import { FormsModule } from '@angular/forms'; to either your module or component
How to avoid prop drilling in angular? Is it okay to use output emitter two times if components nested like below ? g.parent comp -> parent comp -> child comp I don't want to use service in my child component because it is a presentation component.
WATCH NEXT: Angular Interview Questions and Answers - Dominate Your Next Interview - ruclips.net/video/5A_YKlVWMPo/видео.htmlsi=2DCn7yspEAAJ2H6l
This is the best RUclips channel on Angular.
Glad you like my content!
Thanks! Please make a deep tutorial with custom directives!
Noted!
appreciated it, very informative.. would like to know more about Angular ViewChild, ElementRef is possible..
I will add it to the list of future videos
I have imported Forms module but I still get an error "Can't bind to 'ngModel' since it isn't a known property of 'input' ". Do you know how to solve this?
Importing FormsModule should be enough. You can download source code and compare it with your code
How would I do this with Angular 17? Seems like this tutorial is out of date, since forms.module.ts doesn't exist by default anymore
There are no changes regarding forms in Angular 17. You need to import
import { FormsModule } from '@angular/forms'; to either your module or component
you import the stuff in the standalone module where you need it and it will work.
How to avoid prop drilling in angular?
Is it okay to use output emitter two times if components nested like below ?
g.parent comp -> parent comp -> child comp
I don't want to use service in my child component because it is a presentation component.
either output 2 times or service or ngrx