May 2018
Intermediate to advanced
512 pages
11h 3m
English
The alternative to Reactive forms are Template driven forms. If you're familiar with ng-model from AngularJS, you'll find that the new ngModel directive is an API compatible replacement for it.
In the Local Weather app, I have included a commented-out component in app.component.ts named app-city-search-tpldriven. You can uncomment this component in app.component to experiment with it. Let's see how the alternate template implementation looks like:
src/app/city-search-tpldriven/city-search-tpldriven.component.html ...
Read now
Unlock full access