After starting working on Angular 4 i was confused about forms techniques. Angular provide us two form techniques
1. Templete Driven
2. Model-Driven (Reactive Forms)
In last month I had started my first Angular 4 project before this I have had only worked on ionic projects. In ionic we use template driven forms. Use ngModel to bind html form to controller.
So, after starting my first project on angular 4 i have been confused about model driven and template driven forms. We were using both form techniques at same time and I observed that all my colleagues have been following the same wrong concept. But it was not the best of practices we should use both forms separately when its required.
Example code of wrong concept but it also works fine thats why we all were confused.
So, the conclusion is that me must use right approach because angular has defined this approach in their documentation.
And if we want to improve our coding skills so then we should work according to documentation.