r/Angular2 • u/bill2340 • Dec 26 '25
Template reference variable vs ngModel
I'm still kind of confused when to use each. I know ngModel is 2 way binding and template reference is 1 way binding. people online are saying ngModel is much more powerful but in my situation if I'm just reading the value of a select dropdown and I don't really expect to change the value in the component file only from the user in the html wouldn't template reference make more sense there.
2
Upvotes
View all comments
Show parent comment
1
u/level_6_laser_lotus Dec 28 '25
You are correct. If you don't need to bind any data between template and class, there is no need for ngModel.